Click here to Skip to main content
15,893,814 members
Home / Discussions / C#
   

C#

 
Question[Message Deleted] Pin
Charith Jayasundara10-Aug-08 20:54
Charith Jayasundara10-Aug-08 20:54 
AnswerRe: Integrate World Map to .net site Pin
Christian Graus10-Aug-08 20:57
protectorChristian Graus10-Aug-08 20:57 
QuestionHttp header fields Pin
George_George10-Aug-08 20:53
George_George10-Aug-08 20:53 
AnswerRe: Http header fields Pin
Mark Salsbery10-Aug-08 21:03
Mark Salsbery10-Aug-08 21:03 
GeneralRe: Http header fields Pin
George_George10-Aug-08 21:17
George_George10-Aug-08 21:17 
GeneralRe: Http header fields Pin
Mark Salsbery10-Aug-08 21:30
Mark Salsbery10-Aug-08 21:30 
GeneralRe: Http header fields Pin
George_George10-Aug-08 21:43
George_George10-Aug-08 21:43 
GeneralRe: Http header fields Pin
Mark Salsbery11-Aug-08 5:30
Mark Salsbery11-Aug-08 5:30 
George_George wrote:
You think the Http header values of key/value pairs are so called "literals" in this document?


No. Section 2.1 tells you how to interpret the notation used in section 14.

For example:
14.9 Cache-Control

    Cache-Control   = "Cache-Control" ":" 1#cache-directive

    cache-directive = cache-request-directive
         | cache-response-directive

    cache-request-directive =
           "no-cache"                          ; Section 14.9.1
         | "no-store"                          ; Section 14.9.2
         | "max-age" "=" delta-seconds         ; Section 14.9.3, 14.9.4
         | "max-stale" [ "=" delta-seconds ]   ; Section 14.9.3
         | "min-fresh" "=" delta-seconds       ; Section 14.9.3
         | "no-transform"                      ; Section 14.9.5
         | "only-if-cached"                    ; Section 14.9.4
         | cache-extension                     ; Section 14.9.6

     cache-response-directive =
           "public"                               ; Section 14.9.1
         | "private" [ "=" <"> 1#field-name <"> ] ; Section 14.9.1
         | "no-cache" [ "=" <"> 1#field-name <"> ]; Section 14.9.1
         | "no-store"                             ; Section 14.9.2
         | "no-transform"                         ; Section 14.9.5
         | "must-revalidate"                      ; Section 14.9.4
         | "proxy-revalidate"                     ; Section 14.9.4
         | "max-age" "=" delta-seconds            ; Section 14.9.3
         | "s-maxage" "=" delta-seconds           ; Section 14.9.3
         | cache-extension                        ; Section 14.9.6

    cache-extension = token [ "=" ( token | quoted-string ) ]

All those directives in quotes are literals. They are case insensitive
unless otherwise noted.

I see no reason to use any other case but exactly what they show in the
specicification Smile | :)

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Http header fields Pin
George_George11-Aug-08 19:53
George_George11-Aug-08 19:53 
GeneralRe: Http header fields Pin
Mark Salsbery12-Aug-08 4:23
Mark Salsbery12-Aug-08 4:23 
GeneralRe: Http header fields Pin
George_George12-Aug-08 16:15
George_George12-Aug-08 16:15 
QuestionCertificate verification using CRL Pin
Ajil George10-Aug-08 20:50
Ajil George10-Aug-08 20:50 
AnswerRe: Certificate verification using CRL Pin
Peter Ritchie17-Aug-08 19:32
Peter Ritchie17-Aug-08 19:32 
Questiondata base deployment along with setup file Pin
vishnukamath10-Aug-08 20:46
vishnukamath10-Aug-08 20:46 
AnswerRe: data base deployment along with setup file Pin
Christian Graus10-Aug-08 20:59
protectorChristian Graus10-Aug-08 20:59 
Generalscrollbar with pan zoom Pin
smsurendar10-Aug-08 20:29
smsurendar10-Aug-08 20:29 
GeneralRe: scrollbar with pan zoom Pin
Paul Conrad10-Aug-08 20:53
professionalPaul Conrad10-Aug-08 20:53 
QuestionMonitor HTTP traffic Pin
Tejal Bhavsar10-Aug-08 20:14
Tejal Bhavsar10-Aug-08 20:14 
AnswerRe: Monitor HTTP traffic Pin
bhadeliaimran10-Aug-08 20:23
bhadeliaimran10-Aug-08 20:23 
Questionpopulating listbox with data from other form Pin
maricarguingab10-Aug-08 19:20
maricarguingab10-Aug-08 19:20 
QuestionControlling LEDS Pin
jonhbt10-Aug-08 19:20
jonhbt10-Aug-08 19:20 
AnswerRe: Controlling LEDS Pin
John_Adams10-Aug-08 20:35
John_Adams10-Aug-08 20:35 
GeneralRe: Controlling LEDS Pin
jonhbt10-Aug-08 21:59
jonhbt10-Aug-08 21:59 
AnswerRe: Controlling LEDS Pin
Thomas Stockwell11-Aug-08 1:30
professionalThomas Stockwell11-Aug-08 1:30 
QuestionToolstripButton Image size? PinPopular
kbalias10-Aug-08 18:59
kbalias10-Aug-08 18:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.