Mindwalker2076 / variman

Automatically exported from code.google.com/p/variman
0 stars 0 forks source link

NullPointerException Occurs When Required User-Agent Request Header is Missing #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A NullPointerException occurs when the required User-Agent request header is 
missing from the request. This causes a new entry in the logs to be created, 
returns a 500 Internal Server error, and gives no indication to the user what 
their client is doing wrong.

The attached patch replies with a RETS error message indicating that their 
client is missing the required User-Agent header. An error is logged at the 
debug level so that production logs won't get cluttered with errors caused by 
the client.

Original issue reported on code.google.com by danny%re...@gtempaccount.com on 15 Jan 2011 at 4:03

Attachments:

GoogleCodeExporter commented 9 years ago
Patch applied.

Original comment by jazzklein on 16 Jan 2011 at 4:15