Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #6993 > unrolled thread

Store all HTTP headers or only used ones?

Started byVictor Porton <porton@narod.ru>
First post2016-11-15 01:21 +0200
Last post2016-11-15 01:21 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.programming


Contents

  Store all HTTP headers or only used ones? Victor Porton <porton@narod.ru> - 2016-11-15 01:21 +0200

#6993 — Store all HTTP headers or only used ones?

FromVictor Porton <porton@narod.ru>
Date2016-11-15 01:21 +0200
SubjectStore all HTTP headers or only used ones?
Message-ID<o0dgt8$i4h$1@gioia.aioe.org>
I write a Web cache to be used with GitHub and BitBucket API (support of 
more APIs may be added in the future). I need to store Link: headers in the 
cache because in GitHub they are used for pagination. Should I store in the 
cache **all** HTTP headers or only Link ones?

(note that I currently store response body and status)

Non-Link headers are not needed, but it may break future compatibility. 
What's your advice?

-- 
Victor Porton - http://portonvictor.org

[toc] | [standalone]


Back to top | Article view | comp.programming


csiph-web