amazotron has asked for the wisdom of the Perl Monks concerning the following question:
I have a Perl-based client using LWP to talk to a C# .NET server (I control the code on both sides). When the client does a POST, and everything is fine on the server, I get an HTTP 200 (all is good). When an exception is thrown on the server, I always get back an HTTP 400 (bad request) and nothing else about the problem.
I have used the command line utility CURL to POST to the server and that client gets back the error details from the server every time, so I have to assume that there is something about LWP or how it is configured that is masking the true error.
Does anyone have insight into this?
When I get back at work tomorrow, I'll post some code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP and server-side exception propogation
by Anonymous Monk on Oct 08, 2009 at 00:54 UTC | |
by amazotron (Novice) on Oct 08, 2009 at 03:17 UTC | |
by afoken (Chancellor) on Oct 08, 2009 at 05:54 UTC | |
by Anonymous Monk on Oct 08, 2009 at 07:28 UTC | |
by amazotron (Novice) on Oct 13, 2009 at 02:53 UTC |