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


Groups > comp.programming > #6993

Store all HTTP headers or only used ones?

From Victor Porton <porton@narod.ru>
Newsgroups comp.programming
Subject Store all HTTP headers or only used ones?
Date 2016-11-15 01:21 +0200
Organization Aioe.org NNTP Server
Message-ID <o0dgt8$i4h$1@gioia.aioe.org> (permalink)

Show all headers | View raw


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

Back to comp.programming | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web