```bash
#!/bin/sh

# Set the listening port
PORT=8080

# Start listening for requests
while true; do
  # Use netcat to receive the request on stdin
  nc -l -p $PORT <&0 | while read line; do
    # Parse the request
    method=$(echo $line | cut -d ' ' -f 1)
    path=$(echo $line | cut -d ' ' -f 2)
    http_version=$(echo $line | cut -d ' ' -f 3)

    # Check if the request is a GET request
    if [ "$method" = "GET" ]; then
      # Send the HTTP response header
      echo "HTTP/1.1 200 OK"
      echo "Content-Type: text/html"
      echo ""

      # Send the HTTP response body
      echo "<html>"
      echo "<head>"
      echo "<title>Hello World</title>"
      echo "</head>"
      echo "<body>"
      echo "<h1>Hello World</h1>"
      echo "</body>"
      echo "</html>"
    elif [ "$method" = "POST" ]; then
      # Read the POST data from stdin
      content_length=$(echo "$line" | grep -i "content-length:" | cut -d' ' -f2)
      if [ "$content_length" != "" ]; then
        read -n $content_length post_data <&0
      fi

      # Send the HTTP response header
      echo "HTTP/1.1 200 OK"
      echo "Content-Type: text/html"
      echo ""

      # Send the HTTP response body
      echo "<html>"
      echo "<head>"
      echo "<title>POST Data</title>"
      echo "</head>"
      echo "<body>"
      echo "<h1>POST Data</h1>"
      echo "<p>$post_data</p>"
      echo "</body>"
      echo "</html>"
    else
      # Send a 405 Method Not Allowed error for all other requests
      echo "HTTP/1.1 405 Method Not Allowed"
      echo "Content-Type: text/plain"
      echo ""
      echo "405 Method Not Allowed"
    fi
  done | nc -l -p $PORT > /dev/null
done
```
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence