Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Minimum content in HTTP_Header
Message
From
06/12/2011 10:12:05
 
 
To
06/12/2011 10:04:22
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01530425
Message ID:
01530434
Views:
37
>>Isn't that going to depend on the type of content (Request, Response etc) ?
>>
>>IAC it's not simple - but you can wade thru this:
>>http://tools.ietf.org/html/rfc2616#section-5
>
>In my case, it is for the incoming, such that would be Request.
>
>There is a few I can get like this:
>
>
>            cContentEncoding = oRequest.ContentEncoding.EncodingName
>            cContentType = oRequest.ContentType
>            nContentLength = oRequest.ContentLength
>
>
>
>While others like this:
>
>
>            ' For each HTTP header
>            For lnCounter = 1 To oRequest.Headers.Count
>                ReDim loObject(2)
>
>                loObject(1) = oRequest.Headers.GetKey(lnCounter - 1)
>                loObject(2) = oRequest.Headers.Get(lnCounter - 1)
>
>                oHeader.Add(loObject)
>            Next
>
>
>But, thanks for the reference

Section 5.3 in the link lists all request header content. If you look at each individually you can see if they are marked as REQUIRED or MUST (Host, for example, is required)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform