Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Minimum content in HTTP_Header
Message
De
06/12/2011 10:12:05
 
 
À
06/12/2011 10:04:22
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01530425
Message ID:
01530434
Vues:
36
>>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform