1. 27 Feb, 2017 2 commits
    • Nils Goroll's avatar
      Back to Expect handling according to rfc7231 · 341fd852
      Nils Goroll authored
      Revert a regressive nit from bdd84ffc which
      has nothing to do with H/2
      
      https://tools.ietf.org/html/rfc7231#section-5.1.1
      
         Requirements for servers:
      
         o  A server that receives a 100-continue expectation in an HTTP/1.0
            request MUST ignore that expectation.
      
      So if Expect exists but is not "100-continue", we send the 417 irrespective
      of the protocol version.
      
      But if is is 100-continue and the protocol is HTTP/1.0 or below, we ignore
      the header.
      341fd852
    • Dag Haavi Finstad's avatar
      Add a setenv command to varnishtest · dcdb2504
      Dag Haavi Finstad authored
      This lets you set or change environment variables in a test case.
      
      Usage is
      
          setenv FOO "bar baz"
      
      The above will set the environment variable $FOO to the value
      provided. There is also an ``-ifunset`` argument which will only set the
      value if the the environment variable does not already exist:
      
          setenv -ifunset FOO quux
      
      The ifunset argument corresponds to passing zero as the third argument
      to setenv(3).
      dcdb2504
  2. 26 Feb, 2017 10 commits
  3. 25 Feb, 2017 13 commits
  4. 24 Feb, 2017 2 commits
  5. 23 Feb, 2017 13 commits