Is there any opensource implementation of such library which can be
used to
parse HTTP headers received from server, or can be used to construct
such HTTP
headers ?? 13 20159
Oh right. A marvellous answer. Did you try that query yourself?
I suggest you to do so. Did I write it has to be written in C and not
in python?
Also I am not interested with bugzilla entries for squid proxy...
any other suggestions?
Mateusz Berezecki wrote: Did I write it has to be written in C and not in python?
Yes.
Do you know which newsgroup this is?
--
pete
comp.lang.C !
and that google query by Jack Klein shows a lot of results but...
in perl and python.That annoyed me a bit because I did google for 2
days
before asking here. That kind of responses make me angry.
let me be more specific this time. I am looking for an opensource
library
to parse HTTP header responses or something similar to GNet library
so I could write my own HTTP Header parser. Does anybody know if there
is any such library? Is there any decent library similar to GNet? (Gnet
seems
to be _broken_ )
with regards
/mb
Mateusz Berezecki wrote: Oh right. A marvellous answer. Did you try that query yourself? I suggest you to do so. Did I write it has to be written in C and not in python? Also I am not interested with bugzilla entries for squid proxy...
any other suggestions?
I have no idea what you are squealing about, since you didn't
bother to include any context (see sig below if due to ignorance).
The only clue remaining is the subject, which is far off topic on
c.l.c, and you should have received no answer whatsoever except for
a possible suggestion of a suitable newsgroup.
--
"If you want to post a followup via groups.google.c om, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
"Mateusz Berezecki" <ma******@gmail .com> writes: comp.lang.C !
and that google query by Jack Klein shows a lot of results but... in perl and python.That annoyed me a bit because I did google for 2 days before asking here. That kind of responses make me angry.
Then I suggest you chill out. If someone attempts to answer my
question, and the answer turns out not to be useful, my usual response
is something like "Thanks for trying, but that's not quite what I was
looking for". If you're going to get angry at people who try to help
you, you're not likely to get much help here.
--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this. I have no idea what you are squealing about, since you didn't bother to include any context (see sig below if due to ignorance). The only clue remaining is the subject, which is far off topic on c.l.c, and you should have received no answer whatsoever except for a possible suggestion of a suitable newsgroup.
ok, I apologise. I didn't want to behave that way. Sorry for problems.
--mb ma******@gmail. com wrote: Is there any opensource implementation of such library which can be used to parse HTTP headers received from server, or can be used to construct such HTTP headers ??
HTTP itself is kind of trivial. You should be able to just read the
spec, use something like PRCE, and code up something yourself, if you
are a reasonable programmer.
Otherwise, I think programs like WGET are open source, so you'll be
able to get the idea for it there. If that's not good enough for you,
you can look at the http.c and http.h files for ytoics-c here: http://cvs.sourceforge.net/viewcvs.py/ytoics/ytoics-c/
--
Paul Hsieh http://www.pobox.com/~qed/ http://bstring.sf.net/ HTTP itself is kind of trivial. You should be able to just read the spec, use something like PRCE, and code up something yourself, if you are a reasonable programmer.
I actually ended up doing this myself. I did it with a little help
of glib and it seems to work great.Anyways thank you for the answer.
--mb This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Anon |
last post by:
If Http headers specify the character encoding, what is the point of
the Meta tag specifying it?
|
by: ramas |
last post by:
Hi,
I am new to PHP scripting and i am trying to connect to a soap server
(as mentioned below) using the SOAP extension comesup with PHP. Now my
requirement is to add my HTTP header fields along with my SOAP request,
so that the SOAP server will receive it and does some high level
processing. Is it possible to add our own HTTP header fields in PHP?
If i use the header() function to add the field into the HTTP header
and it neither...
|
by: R. Rajesh Jeba Anbiah |
last post by:
Is it necessary or is there any standard to send HTTP header status
for form inputs ? Say, the user is entering invalid password in login
form and now all the applications I have seen are just displaying error
messages above the form (with HTTP status 200); is it necessary to send
401 status in this case?
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
|
by: tacoturtle |
last post by:
Hello All,
do all the properties that the request posses directly correlate to a
http header variable? The reason I ask is that I am trying code
against a scenario where the header variables do not exist, but obtain
some of the values provided by the header variables through other
means in asp.net.
john
|
by: Roshawn Dawson |
last post by:
Hi,
I've been reading the <a href="http://www.google.com/webmasters/guidelines.html">Google WebMaster
Guidelines. Google urges web developers to make use of the If-Modified-Since http header with an
emphasis on saving bandwidth and overhead.
How do I use this header in ASP.NET? Is it there by default or must I explicitly place it in the
Headers collection? How would I inform the GoogleBot of this information?
Thanks,
| |
by: Christian Lutz |
last post by:
Hy there
I have a Web Services written in Java, running on Tomcat. The Client is
written in C#. When i monitor the request/Response with TCPMon (included in
Tomcat) i can observer the following sequence:
********************************************
CLIENT:: Request
********************************************
|
by: Przemyslaw Wegrzyn |
last post by:
Hi !
Can anyone here recommend good e-mail parsing library ?
I have to write a program that scans e-mail message piped to it on STDIN.
Most libraries I've found parses e-mail from file building a message part
tree in RAM, or even loading whole message into RAM. I'd like to avoid such
excessive memory usage, thus I'm looking for a library with
"SAX-like" (comparing to XML parsers) API, that is, a library that would
call my functions...
|
by: utnemisis51 |
last post by:
Hi,
I'm trying to include some user credentials for accessing a remote
webservice. The remote location requires that I use Basic
authentication, which means, from browsing around, I need to include
the user name and password in the HTTP header, but I'm not quite sure
how to access the HTTP header that is sent with the webservice soap
message request.
Can anyone help?
|
by: Dean Hallman |
last post by:
Hello,
I am developing a BHO that should add a custom HTTP header on a
specific domain only. Don't want the header globally, otherwise I
could just add a registry key.
So, on BEFORENAVIGATE2, I am canceling the current navigation and
renavigating with the new custom header using Navigate2. This usually
works fine, but in some cases (particularly when selecting a link that
starts a new window), the Navigate2 call fails.
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |