charonn0 / HTTPTestGenerator

A tool for exploring HTTP from both client and server perspectives
http://www.boredomsoft.org/http-request-generator.bs
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

issue with locale (wrong [log] output) #7

Closed k-a-z-u closed 8 years ago

k-a-z-u commented 8 years ago

In the log, I get outputs like:

POST / HTTP/11,0 and HTTP/11,0 400 Bad Request

I guess this is due to the german local the program is running with: issue with "," and "." for numbers. Unfortunately I do not know whether this concerns only the log or even the sent packets.

charonn0 commented 8 years ago

This appears to be the result of using the Format library method, which respects the user's locale when formatting numbers with a decimal point. This is done for both requests and responses. Moreover, the CDbl method is used to reverse the process, and it also uses the user's locale to determine the decimal point character. Shouldn't be hard to fix.

charonn0 commented 8 years ago

Please try installing the latest version. You can download the installer from the project page.

charonn0 commented 8 years ago

I do not know whether this concerns only the log or even the sent packets.

This would affect both the log and the packets, and is probably why you were receiving a 400 Bad Request response from the server.