Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Decode perl cgi response in C

by rjt (Deacon)
on Jul 22, 2013 at 00:21 UTC ( #1045552=note: print w/replies, xml ) Need Help??


in reply to Decode perl cgi response in C

Is it possible for a C program do decode this without requiring a browser.

Yes.

However, beyond that, I really have no idea what you're asking. I gather you have a CGI on a web server, and you seem to be asking how to process its output on the client side. For this question the CGI may as well be written in GW-BASIC; its language is irrelevant.

What, specifically, do you need your C program to do? Do you need it to actually open a socket and communicate with the server, or only to parse the response text received some other way (how)? Unless there's more to this question, this has nothing at all to do with Perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1045552]
help
Chatterbox?
[Corion]: Hurr - as I'm running some not-so-static websites nowadays, maybe I really should implement a link checker that crawls these sites and checks that all internal links work ...
[Corion]: (in the sense of not returning 404 errors)
[1nickt]: Corion Surely you have one or more lying around?
[Corion]: 1nickt: Not in the general sense... I only have very specific crawlers, but not a simple crawler like that ;) But maybe that would be a good application/( stress) test for Future::HTTP to parallelize

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2017-10-18 11:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (244 votes). Check out past polls.

    Notices?