ObjFW  History of tests/OFHTTPClientTests.m of 35f34deb0c3285cf

History of file tests/OFHTTPClientTests.m at check-in 35f34deb0c3285cf

2024-10-28
21:42
Enable MPTCP for OFHTTPClient and OFHTTPServer file: [962f5ae8ec] check-in: [50035101ae] user: js, branch: mptcp, size: 4636 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [e9b6e1eab7] check-in: [7413a728a7] user: js, branch: trunk, size: 4608 [annotate] [blame] [check-ins using] [diff]
2024-02-18
19:29
Renamed new_tests/OFHTTPClientTests.m → tests/OFHTTPClientTests.m. Rename new tests file: [d3dab1d884] check-in: [7a84580fb6] user: js, branch: objfwtest, size: 4400 [annotate] [blame] [check-ins using] [diff]
10:11
Renamed tests/OFHTTPClientTests.m → new_tests/OFHTTPClientTests.m. Migrate OFHTTPClientTests to ObjFWTest file: [d3dab1d884] check-in: [851f6138bf] user: js, branch: objfwtest, size: 4400 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [8ae0f89264] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 3776 [annotate] [blame] [check-ins using] [diff]
2023-05-21
11:04
OFTCPSocket: Return socket address bound to file: [0f28ab76f2] check-in: [fc161d1948] user: js, branch: trunk, size: 3776 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [505df615ec] check-in: [8939cbdb52] user: js, branch: trunk, size: 3706 [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:21
Rename OFURI to OFIRI file: [d6825e4ddf] check-in: [23272e6d43] user: js, branch: trunk, size: 3706 [annotate] [blame] [check-ins using] [diff]
2022-09-28
21:40
Rename OFUR{L -> I} in preparation for URI support file: [64ad652a21] check-in: [e7ab06503c] user: js, branch: trunk, size: 3706 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [0615ead311] check-in: [1a86b8175b] user: js, branch: trunk, size: 3706 [annotate] [blame] [check-ins using] [diff]
2021-05-08
23:22
tests: Align more with ObjFW style

ObjFW's style changed over the years, but the tests were never adjusted
to it. file: [1197c752e1] check-in: [14f1e22d79] user: js, branch: trunk, size: 3706 [annotate] [blame] [check-ins using] [diff]

2021-04-18
15:55
Rename all functions in macros.h file: [76a48837cf] check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 3722 [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
*.m: Fold methods into one line where it fits file: [2d2b40724b] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 3730 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [18ee20c625] check-in: [374e1a1bfa] user: js, branch: trunk, size: 3739 [annotate] [blame] [check-ins using] [diff]
2020-10-31
19:16
OFHTTPClient: Remove didFailWithException

Instead, add an exception to didPerformRequest, to make it more
consistent with other places. file: [086ef33868] check-in: [7f102e8c95] user: js, branch: trunk, size: 3828 [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
Update copyright file: [a109d65c25] check-in: [c7f0229795] user: js, branch: trunk, size: 3769 [annotate] [blame] [check-ins using] [diff]
2019-09-29
15:58
Remove OFAutoreleasePool

OFAutoreleasePools have long been discouraged in favor of the runtime's
autorelease pools. file: [b66261adb6] check-in: [09be825f88] user: js, branch: trunk, size: 3766 [annotate] [blame] [check-ins using] [diff]

2019-08-11
18:56
Support sockets in multiple threads on AmigaOS file: [3c6e718237] check-in: [a40f3fc829] user: js, branch: trunk, size: 3768 [annotate] [blame] [check-ins using] [diff]
2019-03-25
00:21
tests: Use dot syntax file: [a26978f51b] check-in: [b045cbb9c7] user: js, branch: trunk, size: 3736 [annotate] [blame] [check-ins using] [diff]
2019-02-17
22:44
tests: Only import ObjFW.h

This prevents forgetting to add an import to ObjFW.h, as the tests would
then not compile. file: [704975d98c] check-in: [dc0c6c34ab] user: js, branch: trunk, size: 3752 [annotate] [blame] [check-ins using] [diff]

2019-01-03
19:13
Update copyright file: [284ef36da3] check-in: [0509d7a844] user: js, branch: trunk, size: 4054 [annotate] [blame] [check-ins using] [diff]
2018-12-21
21:39
Remove context from OFHTTPClientDelegate

It was not very useful as for any OFHTTPClient there can only be one
active request. file: [c91311172c] check-in: [eaf458c1e6] user: js, branch: trunk, size: 4048 [annotate] [blame] [check-ins using] [diff]

2018-02-27
20:36
OFHTTP{Client,Server}: Rename body to requestBody

This makes it more clear that this has nothing to do with the body of
the response, as the body of the response is read from the
OFHTTPResponse itself. file: [7a04e238a8] check-in: [d375061886] user: js, branch: trunk, size: 4118 [annotate] [blame] [check-ins using] [diff]

2018-02-18
00:20
OFHTTPClient: Add a callback for the request body

This is in preparation for removing the body from OFHTTPRequest.
Having it as OFData that is part of the OFHTTPRequest was a bad idea, as
it does not allow streaming. file: [ca69cf61a6] check-in: [8681bba25e] user: js, branch: trunk, size: 4116 [annotate] [blame] [check-ins using] [diff]

2018-01-03
19:49
Update copyright notice file: [b0b4bb5876] check-in: [7e5c81e186] user: js, branch: trunk, size: 3505 [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
Do not use implicit method return types

Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. file: [551e4c55ef] check-in: [2f4e0df8be] user: js, branch: trunk, size: 3482 [annotate] [blame] [check-ins using] [diff]

2017-09-25
00:02
OFHTTPClient: Add support for passing a context file: [76843d6944] check-in: [c35ba05bbc] user: js, branch: trunk, size: 3478 [annotate] [blame] [check-ins using] [diff]
2017-09-24
21:00
OFHTTPClient: Rename to -[asyncPerformRequest:]

This makes it clear that the request is handled asynchronously and makes
it possible to reintroduce a synchronous version later. file: [1220c3f5ba] check-in: [0319fe1eb9] user: js, branch: trunk, size: 3433 [annotate] [blame] [check-ins using] [diff]

00:59
Make OFHTTPClient asynchronous

This does not make OFHTTPClientResponse completely asynchronous yet.

Since -[initWithURL:] does not work well with an asynchronous API, it no
longer supports HTTP URLs. However, a new, asynchronous API will be
added as a replacement later on. file: [a00a732f44] check-in: [56a18442e2] user: js, branch: trunk, size: 3423 [annotate] [blame] [check-ins using] [diff]

2017-07-22
20:50
Split OFDataArray into OFData and OFMutableData file: [9c917ec780] check-in: [c8f7b90082] user: js, branch: trunk, size: 2900 [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. file: [6a14912f05] check-in: [44f45c2e35] user: js, branch: trunk, size: 2910 [annotate] [blame] [check-ins using] [diff]

2016-10-09
16:04
Add three missing #include <inttypes.h> file: [ef6d404c0c] check-in: [1b90782e78] user: js, branch: trunk, size: 2904 [annotate] [blame] [check-ins using] [diff]
2016-01-05
14:10
Better randomization of HTTP header order

This should randomize the order of all headers now, preventing
fingerprinting by the order of HTTP headers. file: [b7f6ba3e3b] check-in: [58d4025602] user: js, branch: trunk, size: 2882 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:41
Update copyright

While at it, also update the mail address. file: [d1280b74ae] check-in: [2a27cf3000] user: js, branch: trunk, size: 2882 [annotate] [blame] [check-ins using] [diff]

2015-06-28
16:39
tests: Use __VA_ARGS__ for TEST() and clean up file: [e466b71e49] check-in: [07e630588d] user: js, branch: trunk, size: 2878 [annotate] [blame] [check-ins using] [diff]
2015-01-20
19:38
tests: Class and category name consistency file: [08ace1af61] check-in: [ea500c31be] user: js, branch: trunk, size: 2880 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [65aec61587] check-in: [cfd374b906] user: js, branch: trunk, size: 2887 [annotate] [blame] [check-ins using] [diff]
2014-02-23
18:51
Add missing #define _POSIX_C_SOURCE 199309L

This also removes #include <time.h> from OFHTTPClientTests, as this
would cause <time.h> to be included without _POSIX_C_SOURCE set to
199309L and thus struct timespec would be missing. file: [99ab8cb487] check-in: [bfc762c6d8] user: js, branch: trunk, size: 2881 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [05de45f519] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 2921 [annotate] [blame] [check-ins using] [diff]
2013-07-29
19:43
Rename OFHTTPRequestReply to OFHTTPResponse. file: [473246aa5a] check-in: [36d0b1e2d8] user: js, branch: trunk, size: 2915 [annotate] [blame] [check-ins using] [diff]
2013-06-17
08:54
Replace a few asserts with OF_ENSURE / OBJC_ERROR. file: [20876eb150] check-in: [dc17a614e8] user: js, branch: trunk, size: 2911 [annotate] [blame] [check-ins using] [diff]
2013-03-15
17:04
OFHTTPClient: Implement "Connection: keep-alive". file: [7b9b64988c] check-in: [c195c1f098] user: js, branch: trunk, size: 2920 [annotate] [blame] [check-ins using] [diff]
2013-01-28
20:55
OFHTTPClientTests: Fix a Clang 3.3 warning. file: [34e44ef284] check-in: [5ce6d067f1] user: js, branch: trunk, size: 2991 [annotate] [blame] [check-ins using] [diff]
2013-01-26
00:13
Make OFHTTPRequestReply a stream.

This also implements chunked transfer encoding for OFHTTPServer and adds
a property for the protocol version to OFHTTPRequest(Reply).

Additionally, this makes it possible to add an async version of
OFHTTPClient. file: [70f5e875cd] check-in: [bdf9c4d96b] user: js, branch: trunk, size: 2986 [annotate] [blame] [check-ins using] [diff]

2013-01-09
22:24
Update copyright. file: [1c3e517f32] check-in: [813c00ccf0] user: js, branch: trunk, size: 2790 [annotate] [blame] [check-ins using] [diff]
2012-12-26
20:55
OFHTTPRequestResult -> OFHTTPRequestReply.

The class also has its own file now. file: [01c0783752] check-in: [75f187cef5] user: js, branch: trunk, size: 2784 [annotate] [blame] [check-ins using] [diff]

2012-12-09
12:13
Added: Split OFHTTPRequest into OFHTTP{Client,Request}. file: [f46357cbad] check-in: [2b7a70e246] user: js, branch: trunk, size: 2736 [annotate] [blame] [check-ins using]