]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/http/client/client-tests.factor
http: Use Uppercase For Header Names
[factor.git] / basis / http / client / client-tests.factor
index ceab96a6d96bb6de01d752dfcc774d656879ed4d..5d8e11aaaa0a5f00ce1561912fb168b91d26d354 100644 (file)
@@ -14,7 +14,7 @@ IN: http.client.tests
         { method "GET" }
         { version "1.1" }
         { cookies V{ } }
-        { header H{ { "connection" "close" } { "user-agent" "Factor http.client" } } }
+        { header H{ { "Connection" "close" } { "User-Agent" "Factor http.client" } } }
         { redirects 10 }
     }
 } [
@@ -29,7 +29,7 @@ IN: http.client.tests
         { method "GET" }
         { version "1.1" }
         { cookies V{ } }
-        { header H{ { "connection" "close" } { "user-agent" "Factor http.client" } } }
+        { header H{ { "Connection" "close" } { "User-Agent" "Factor http.client" } } }
         { redirects 10 }
     }
 } [