Commit Graph

118 Commits

Author SHA1 Message Date
Heiko Hund 1ba968821a winhttp: Make strings in WINHTTP_PROXY_INFO non-const. 2012-07-19 16:01:18 +02:00
Hans Leidekker 189c1ca5d9 winhttp: Fix up headers with wrong termination. 2012-03-12 16:37:21 +01:00
Jan-Peter Nilsson 3de7348f72 winhttp: Set the context on the request handle earlier. 2012-02-20 11:49:02 +01:00
Hans Leidekker ebc4fd1462 winhttp: Don't attempt to read data after receiving a response to a HEAD request. 2012-01-27 18:05:48 +01:00
Hans Leidekker 07ed66f8ec winhttp: Also close the connection when there's nothing to read. 2012-01-27 18:05:47 +01:00
Hans Leidekker afd3685779 winhttp: Only turn POST requests into GET requests when redirecting. 2012-01-27 18:05:47 +01:00
Hans Leidekker 053d1731fe winhttp: Remove some dead assignments (clang). 2011-12-09 21:15:27 +01:00
Hans Leidekker 7d8730f8c5 winhttp: Resolve the server name only on the first request. 2011-11-25 16:22:02 +01:00
Marcus Meissner e410f3fc66 winhttp: Added missing LeaveCriticalSection (Coverity). 2011-11-24 17:17:11 +01:00
Hans Leidekker 2621e98d04 winhttp: Clean up properly in request_send. 2011-11-16 16:59:27 +01:00
Francois Gouget ea93b27c34 winhttp: Give a name to the critical sections. 2011-11-14 20:15:22 +01:00
Hans Leidekker 3c9d356bc4 winhttp: Convert string data to UTF-8 and add a corresponding content type header. 2011-11-14 13:10:18 +01:00
Hans Leidekker 5d64254986 winhttp: Use a separate function to set request parameters. 2011-11-09 15:57:27 +01:00
Hans Leidekker 82965248d1 winhttp: Fix sending data with synchronous requests. 2011-11-09 15:57:24 +01:00
Hans Leidekker d5a98e5d85 winhttp: Fix some memory leaks. 2011-09-05 17:17:20 +02:00
Hans Leidekker 82f7651005 winhttp: Properly test a boolean variant. 2011-09-05 17:17:07 +02:00
Hans Leidekker 1d0397d151 winhttp: Support setting the WinHttpRequestOption_EnableRedirects option. 2011-08-24 12:14:47 +02:00
Hans Leidekker cfe4c56624 winhttp: Verify parameter types in IWinHttpRequest::SetProxy. 2011-08-02 11:51:05 +02:00
Hans Leidekker 40bf74107f winhttp: Implement IWinHttpRequest::SetAutoLogonPolicy. 2011-08-02 11:51:05 +02:00
Hans Leidekker e5b8c497ef winhttp: Execute asynchronous requests in a separate thread. 2011-08-02 11:51:01 +02:00
Hans Leidekker 916e3c1cc4 winhttp: Protect access to the request object with a critical section. 2011-08-02 11:41:52 +02:00
Hans Leidekker 87487c14c7 winhttp: Store a copy of the proxy server name and bypass list. 2011-07-29 13:32:53 +02:00
Hans Leidekker 36014639ea winhttp: Factor out request initialization. 2011-07-29 13:32:49 +02:00
Hans Leidekker fb7fc894f0 winhttp: Set an appropriate error when the request is cancelled. 2011-07-29 13:32:45 +02:00
Hans Leidekker c54772c114 winhttp: Fix some valgrind warnings. 2011-07-29 13:32:41 +02:00
Hans Leidekker 7939090fde winhttp: Disable automatic authentication. 2011-07-28 11:31:34 +02:00
Hans Leidekker ae05ce459f winhttp: Don't send any data if the verb is GET. 2011-07-27 11:54:53 +02:00
Hans Leidekker 2295c63796 winhttp: Include the extra info part of the URL in the request. 2011-07-27 11:54:45 +02:00
Hans Leidekker 6191469bc2 winhttp: Add support for sending data with a request. 2011-07-26 10:24:14 +02:00
Hans Leidekker 114bc2b856 winhttp: Implement IWinHttpRequest::SetRequestHeader. 2011-07-26 10:24:10 +02:00
Hans Leidekker 2c8765e7fb winhttp: Implement IWinHttpRequest::GetResponseHeader. 2011-07-26 10:24:05 +02:00
Hans Leidekker 3638908039 winhttp: Add some parameter checks. 2011-07-26 10:23:59 +02:00
Hans Leidekker ca9ab005fc winhttp: Implement IWinHttpRequest::GetAllResponseHeaders. 2011-07-26 10:23:41 +02:00
Hans Leidekker 80d17a79ff winhttp: Set WINHTTP_FLAG_SECURE if the scheme is https. 2011-07-26 10:23:35 +02:00
Hans Leidekker 7227c29a09 winhttp: Add a default user agent header. 2011-07-26 10:23:31 +02:00
Hans Leidekker 050058c5bf winhttp: Add accept types to the request headers. 2011-07-26 10:23:26 +02:00
Hans Leidekker 9237479d22 winhttp: Implement IWinHttpRequest::SetProxy. 2011-07-26 10:23:20 +02:00
Hans Leidekker 4184590579 winhttp: Propagate errors from asynchronous requests. 2011-07-24 12:34:05 +02:00
Hans Leidekker 694d43a910 winhttp: Set last error if the server didn't return a valid response. 2011-07-24 12:33:59 +02:00
Hans Leidekker b218ed1a69 winhttp: Implement IWinHttpRequest::SetCredentials. 2011-07-24 12:33:54 +02:00
Hans Leidekker a25c865cb8 winhttp: Implement IWinHttpRequest::get_ResponseBody. 2011-07-24 12:33:49 +02:00
Hans Leidekker 73646d3529 winhttp: Use an offset instead of a pointer for the write position. 2011-07-24 12:33:39 +02:00
Hans Leidekker f4c2317adc winhttp: Implement IWinHttpRequest::Abort. 2011-07-21 15:36:39 +02:00
Hans Leidekker 52d134b364 winhttp: Implement IWinHttpRequest::get_ResponseText. 2011-07-21 15:36:39 +02:00
Hans Leidekker 39468db2d6 winhttp: Implement IWinHttpRequest::get_StatusText. 2011-07-21 15:36:39 +02:00
Hans Leidekker e11828d2d0 winhttp: Implement IWinHttpRequest::get_Status. 2011-07-21 15:36:39 +02:00
Hans Leidekker 5c79f82ae5 winhttp: Implement IWinHttpRequest::WaitForResponse. 2011-07-21 15:36:39 +02:00
Hans Leidekker d66a0b748b winhttp: Implement IWinHttpRequest::SetTimeouts. 2011-07-21 15:36:39 +02:00
Hans Leidekker 2e33485c6f winhttp: Implement IWinHttpRequest::Send. 2011-07-21 15:36:39 +02:00
Hans Leidekker 4aeec1b88d winhttp: Implement IWinHttpRequest::Open. 2011-07-21 15:36:38 +02:00