AWS API Dlang, hmac sha256 function.

Marc Schütz via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 9 09:23:03 PDT 2015


On Friday, 9 October 2015 at 16:01:33 UTC, holo wrote:
>     Host:: ec2.amazonaws.com\r\n

This, ...

>     Content-Type:: application/x-www-form-urlencoded; 
> charset=utf-8\r\n
>     X-Amz-Date:: 20151009T174337Z\r\n
>     Authorization:: AWS4-HMAC-SHA256 
> Credential=AKIAIHGPAJQ2PJ47YKKA/20151009T174337Z/us-east-1/ec2/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=3049eff7d6b5084c2fee71d10d5cffb17e0df1a9fe76963859c423f637d0496e\r\n
>     \r\n

... these ones, ...

>     [Full request URI: http://: 
> ec2.amazonaws.com/?Action=DescribeInstances&Version=2013-10-15]
>     [HTTP request 2/2]

... and this look wrong. Where does the additional ": " come from?


More information about the Digitalmars-d-learn mailing list