in reply to What can be the reasons for bad request ??
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What can be the reasons for bad request ??
by Sham (Novice) on Sep 08, 2007 at 12:39 UTC | |
Please suggest if it needs any change. Thanks, SHAM... | [reply] [d/l] |
by dorko (Prior) on Sep 08, 2007 at 14:02 UTC | |
From the SSL readme with LWP: SSL SUPPORT ----------- The libwww-perl package has support for using SSL/TLSv1 with its HTTP client and server classes. This support makes it possible to access https schemed URLs with LWP. Because of the problematic status of encryption software in general and certain encryption algorithms in particular, in several countries, libwww-perl package doesn't include SSL functionality out-of-the-box. Encryption support is obtained through the use of Crypt::SSLeay or IO::Socket::SSL, which can both be found from CPAN. While libwww-perl has "plug-and-play" support for both of these modules (as of v5.45), the recommended module to use is Crypt::SSLeay. In addition to bringing SSL support to the LWP package, IO::Socket::SSL can be used as an object oriented interface to SSL encrypted network sockets. There is yet another SSL interface for perl called Net::SSLeay. It has a more complete SSL interface and can be used for web client programming among other things but doesn't directly support LWP. The underlying SSL support in all of these modules is based on OpenSSL <http://www.openssl.org/> (formerly SSLeay). For WWW-server side SSL support (e.g. CGI/FCGI scripts) in Apache see <http://www.modssl.org/>. Cheers,
Brent
-- Yeah, I'm a Delt.
| [reply] |
by erroneousBollock (Curate) on Sep 09, 2007 at 06:02 UTC | |
Pretty much the only time you need to use Net::SSLeay directly is when you're doing something strange like: I find Net::SSLeay most useful for its documentation of the SSL related options (most of which can be used by IO::Socket::SSL and LWP through Crypt::SSLeay). -David | [reply] |
by Sham (Novice) on Sep 10, 2007 at 12:26 UTC | |
When I use the variable $fix_headres(which is created externally with the required headers) in the HTTP::Request->new($method,$uri,$fix_headres,$xmlRequest) it gives error of bad headers. Please suggest on this issue where should I concentrate. Thanks... SHAM. | [reply] [d/l] |
by derby (Abbot) on Sep 08, 2007 at 14:35 UTC | |
Well ... your XML is invalid: should be see the missing angle bracket after EC? But maybe that's just a posting error.
-derby
| [reply] [d/l] [select] |
by Sham (Novice) on Sep 10, 2007 at 10:50 UTC | |
| [reply] |
by Anonymous Monk on Sep 11, 2007 at 09:41 UTC | |
by Sham (Novice) on Sep 12, 2007 at 06:49 UTC | |
| |
by Anonymous Monk on Jul 23, 2013 at 19:54 UTC | |