niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » Perl » modules
Credentials and POST method with IO::Socket::SSL?
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Mark G.
*nix forums beginner


Joined: 30 Jun 2006
Posts: 4

PostPosted: Fri Jun 30, 2006 9:14 pm    Post subject: Credentials and POST method with IO::Socket::SSL? Reply with quote

Hello.

I need to send form data to a secure server, using the POST method.
I have successfully used IO::Socket::SSL with the GET method, but
I cannot find any examples of posting data using this module.

Can anyone here help?

Thanks
-Mark
Back to top
Mark G.
*nix forums beginner


Joined: 30 Jun 2006
Posts: 4

PostPosted: Sat Jul 01, 2006 4:08 pm    Post subject: Re: Credentials and POST method with IO::Socket::SSL? Reply with quote

"Mark G." <nospam@thanksanyway.org> wrote:
Quote:
Hello.

I need to send form data to a secure server, using the POST method.
I have successfully used IO::Socket::SSL with the GET method, but
I cannot find any examples of posting data using this module.

Well, I got that working. . .encrypted data is flowing.

Unfortunately, I am getting a 400 response with "Bad Request (Invalid Header
Name)."
It looks like I'll be curling up with a good RFC this evening.

-Mark
Back to top
nobull@mail.com
*nix forums Guru Wannabe


Joined: 09 Nov 2005
Posts: 240

PostPosted: Sat Jul 08, 2006 5:57 am    Post subject: Re: Credentials and POST method with IO::Socket::SSL? Reply with quote

Mark G. wrote:

Quote:
I need to send form data to a secure server, using the POST method.
I have successfully used IO::Socket::SSL with the GET method, but
I cannot find any examples of posting data using this module.

IIRC, although IO::Socket::SSL contains a rudimentary HTTPS client
implementation it's more common practice, better documented, more
complete and more reliable to use the HTTPS implementation in LWP
instead.

Note: This this still uses IO::Socket::SSL to do the SSL but uses the
HTTP implementation from LWP.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 11:23 am | All times are GMT
navigation Forum index » Programming » Perl » modules
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Best method to search kristy420 Oracle 0 Tue Nov 18, 2008 6:34 pm
No new posts Why did the moron post CD4? Nog Suse 0 Fri Jul 21, 2006 2:13 pm
No new posts access method "gin" does not exist Kevin Murphy PostgreSQL 0 Thu Jul 20, 2006 4:25 pm
No new posts socket read modifies third parameter after the call: Very... jainarunk@gmail.com networking 1 Thu Jul 20, 2006 3:47 pm
No new posts Bug#379010: ITP: scim-thai -- ITP: scim-thai -- Thai Inpu... Theppitak Karoonboonyanan devel 0 Thu Jul 20, 2006 3:30 pm

Books | Outsourcing | Web Advertising | Loan | Mortgage Calculator
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2198s ][ Queries: 16 (0.1461s) ][ GZIP on - Debug on ]