w3c-ccg / http-signatures

Signing HTTP Messages specification
https://w3c-dvcg.github.io/http-signatures/
Other
34 stars 9 forks source link

Typo in sections 3.1.2, 3.1.3, 4.1.1 and 4.1.2, RSA and HMAC examples #102

Open sebastien-rosset opened 4 years ago

sebastien-rosset commented 4 years ago

Section 4.1.1 has the following example:

   The client would compose the signing string as:

   (request-target): post /foo\n
   (created): 1402170695
   (expires): 1402170995
   host: example.org\n
   digest: SHA-256=X48E9qOokqqrvdts8nOJRJN3OWDUoyWxBf7kbu9DBPE=\n
   content-length: 18

It looks like "\n" is missing, or is this intentional?


   (request-target): post /foo\n
   (created): 1402170695\n
   (expires): 1402170995\n