Differences From Artifact [c0960d74b1]:
- File
src/OFHTTPClient.m
— part of check-in
[b9c811a236]
at
2016-01-05 14:58:01
on branch trunk
— OFHTTPClient: Allow override of all headers
This makes it possible for the user to override Authorization and
Connection. (user: js, size: 17275) [annotate] [blame] [check-ins using]
To Artifact [d67222c86c]:
- File src/OFHTTPClient.m — part of check-in [db91b57393] at 2016-05-06 16:03:51 on branch trunk — OFHTTPClient: Allow overriding Host header (user: js, size: 17334) [annotate] [blame] [check-ins using]
︙ | |||
378 379 380 381 382 383 384 | 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 | + - - - - + + + + - - - - - + + + + + + | of_http_request_method_to_string(method), [URL path], [request protocolVersionString]]; headers = [[[request headers] mutableCopy] autorelease]; if (headers == nil) headers = [OFMutableDictionary dictionary]; if ([headers objectForKey: @"Host"] == nil) { |
︙ |