Advertisement
Guest User

DuckDuckGo returns 500 if user agent starts with "Java"

a guest
May 30th, 2020
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. $ curl --head --user-agent "NotJava" https://duckduckgo.com/
  2. HTTP/2 200
  3. server: nginx
  4. date: Sat, 30 May 2020 19:52:48 GMT
  5. content-type: text/html; charset=UTF-8
  6. content-length: 5425
  7. vary: Accept-Encoding
  8. etag: "5ed15798-1531"
  9. strict-transport-security: max-age=31536000
  10. x-frame-options: SAMEORIGIN
  11. content-security-policy: default-src https: blob: data: 'unsafe-inline' 'unsafe-eval'; frame-ancestors 'self'
  12. x-xss-protection: 1;mode=block
  13. x-content-type-options: nosniff
  14. referrer-policy: origin
  15. expect-ct: max-age=0
  16. expires: Sat, 30 May 2020 19:52:47 GMT
  17. cache-control: no-cache
  18. accept-ranges: bytes
  19.  
  20. $ curl --head --user-agent "Java/14.0.1" https://duckduckgo.com/
  21. HTTP/2 500
  22. server: nginx
  23. date: Sat, 30 May 2020 19:52:56 GMT
  24. content-type: text/html; charset=UTF-8
  25. content-length: 170
  26. x-xss-protection: 1;mode=block
  27. x-content-type-options: nosniff
  28. referrer-policy: origin
  29. expect-ct: max-age=0
  30.  
  31. $ curl --head --user-agent "Java" https://duckduckgo.com/
  32. HTTP/2 500
  33. server: nginx
  34. date: Sat, 30 May 2020 19:53:03 GMT
  35. content-type: text/html; charset=UTF-8
  36. content-length: 170
  37. x-xss-protection: 1;mode=block
  38. x-content-type-options: nosniff
  39. referrer-policy: origin
  40. expect-ct: max-age=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement