Skip to content
Permalink
Browse files
Merge pull request #237 from kianmeng/fix-typos
Fix typos
  • Loading branch information
etrepum committed Mar 10, 2022
2 parents 835b107 + d4f8da2 commit c724c3a41c2e3ec7977fe118058056f0b8d2b8cc
Showing 5 changed files with 5 additions and 5 deletions.
@@ -53,7 +53,7 @@ The api described in this document is NOT:
- see https://github.com/tim/erlang-oauth
* an implementation of 3-legged OAUTH

It is not suitable for use in applications where an end user has to log into a service and piggy-back on top of a keypair security system.
It is not suitable for use in applications where an end user has to log into a service and piggy-back on top of a key pair security system.

THE CLIENT LIBRARY HERE IS **NOT** AN AMAZON CLIENT LIBRARY. AMAZON DOES FUNKY STUFF WITH HOSTNAMES AND PUSHES THEM ONTO THE URL IN CANONICALIZATION! THE CLIENT LIBRARY IS AMAZON-A-LIKE ENOUGH TO USE THE AMAZON DOCOS TO BUILD A TEST SUITE.

@@ -12,7 +12,7 @@
%%% sign/5 is used client-side to sign a request
%%% - it returns an HTTPAuthorization header
%%%
%%% authorize_request/1 takes a mochiweb Request as an arguement
%%% authorize_request/1 takes a mochiweb Request as an argument
%%% and checks that the request matches the signature
%%%
%%% get_api_keypair/0 creates a pair of public/private keys
@@ -38,7 +38,7 @@
%% TODO: Import this from elsewhere after attribute types refactor.
-type header() :: {string(), string()}.

%% @doc Generates a secure encrypted binary convining all the parameters. The
%% @doc Generates a secure encrypted binary combining all the parameters. The
%% expiration time must be a 32-bit integer.
-spec generate_session_data(
ExpirationTime :: expiration_time(),
@@ -540,7 +540,7 @@ extract_q(KVRe, QRe, [Param | Rest], Acc) ->
%%
%% The returned list of encodings is sorted, descendingly, according to the
%% Q values of the given list. The last element of this list is the given
%% default encoding unless this encoding is explicitily or implicitily
%% default encoding unless this encoding is explicitly or implicitily
%% marked with a Q value of 0.0 in the given Q values list.
%% Note: encodings with the same Q value are kept in the same order as
%% found in the input Q values list.
@@ -142,7 +142,7 @@ end_to_end_client(S) ->
0:1, %% Rsv1
0:1, %% Rsv2
0:1, %% Rsv3
1:4, %% Opcode, text frame (all mochiweb suports for now)
1:4, %% Opcode, text frame (all mochiweb supports for now)
MsgSize:8, %% Expecting small size
SmallMessage/binary>> =
WsFrames,

0 comments on commit c724c3a

Please sign in to comment.