[Mono-list] Who is wrong, mono or microsoft

Andy Hume andyhume32 at yahoo.co.uk
Tue Sep 1 11:36:40 EDT 2009



SomeIrishGuy wrote:
> 
> I have been implementing a desktop application that requests information
> from a website.
> 
> The particular problem is sending post information with a query string and
> the underlying http protocol implementation
> 
> [...]
> this snippet sends login information in the form of POST and has GET
> requests also in the form of a QUERY string
> 
> // string dailyimage =
> "http://support.smarttelecom.ie/forums/smart_usage.php?img=daily";
> 
> 
> -----------------------------------------------------------------------------------------------------------
> The problem
> -----------------------------------------------------------------------------------------------------------
> 
> mono sends the post information correctly and the query string is sent
> correctly as a get request as seen in wireshark
> 
>  http://www.nabble.com/file/p25230391/mono.png 
> 
> .net frame work sends the posts information but the query string is
> ignored by the server as the TCP http protocol is POST
> 
> as seen here
> 
>  http://www.nabble.com/file/p25230391/microsoft.png 
> 
> 
> 
> 

I've just compiled your code, and I see a POST being sent on both .NET and
Mono 2.4 (on Windows)...  Are you using a different version perhaps?

I note from the screenshots that the Mono case does manage to send a POST
earlier.  What's different from the code that does and does not manage to do
the POST?  Are you manually sending the four requests -- but only three on
MSFT?

Andy
-- 
View this message in context: http://www.nabble.com/Who-is-wrong%2C-mono-or-microsoft-tp25230391p25242613.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list