Skip to content

Commit c724c3a

Browse files
authored
Merge pull request #237 from kianmeng/fix-typos
Fix typos
2 parents 835b107 + d4f8da2 commit c724c3a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/hmac_api/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The api described in this document is NOT:
5353
- see https://github.com/tim/erlang-oauth
5454
* an implementation of 3-legged OAUTH
5555

56-
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.
56+
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.
5757

5858
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.
5959

examples/hmac_api/hmac_api_lib.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
%%% sign/5 is used client-side to sign a request
1313
%%% - it returns an HTTPAuthorization header
1414
%%%
15-
%%% authorize_request/1 takes a mochiweb Request as an arguement
15+
%%% authorize_request/1 takes a mochiweb Request as an argument
1616
%%% and checks that the request matches the signature
1717
%%%
1818
%%% get_api_keypair/0 creates a pair of public/private keys

src/mochiweb_session.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
%% TODO: Import this from elsewhere after attribute types refactor.
3939
-type header() :: {string(), string()}.
4040

41-
%% @doc Generates a secure encrypted binary convining all the parameters. The
41+
%% @doc Generates a secure encrypted binary combining all the parameters. The
4242
%% expiration time must be a 32-bit integer.
4343
-spec generate_session_data(
4444
ExpirationTime :: expiration_time(),

src/mochiweb_util.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ extract_q(KVRe, QRe, [Param | Rest], Acc) ->
540540
%%
541541
%% The returned list of encodings is sorted, descendingly, according to the
542542
%% Q values of the given list. The last element of this list is the given
543-
%% default encoding unless this encoding is explicitily or implicitily
543+
%% default encoding unless this encoding is explicitly or implicitily
544544
%% marked with a Q value of 0.0 in the given Q values list.
545545
%% Note: encodings with the same Q value are kept in the same order as
546546
%% found in the input Q values list.

test/mochiweb_websocket_tests.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ end_to_end_client(S) ->
142142
0:1, %% Rsv1
143143
0:1, %% Rsv2
144144
0:1, %% Rsv3
145-
1:4, %% Opcode, text frame (all mochiweb suports for now)
145+
1:4, %% Opcode, text frame (all mochiweb supports for now)
146146
MsgSize:8, %% Expecting small size
147147
SmallMessage/binary>> =
148148
WsFrames,

0 commit comments

Comments
 (0)