Changeset 52961
- Timestamp:
- 03/20/2022 03:41:48 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-streams.php
r52960 r52961 207 207 208 208 if ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) { // Some proxies require full URL in this field. 209 $request Path = $url;209 $request_path = $url; 210 210 } else { 211 $request Path = $parsed_url['path'] . ( isset( $parsed_url['query'] ) ? '?' . $parsed_url['query'] : '' );212 } 213 214 $strHeaders = strtoupper( $parsed_args['method'] ) . ' ' . $request Path . ' HTTP/' . $parsed_args['httpversion'] . "\r\n";211 $request_path = $parsed_url['path'] . ( isset( $parsed_url['query'] ) ? '?' . $parsed_url['query'] : '' ); 212 } 213 214 $strHeaders = strtoupper( $parsed_args['method'] ) . ' ' . $request_path . ' HTTP/' . $parsed_args['httpversion'] . "\r\n"; 215 215 216 216 $include_port_in_host_header = (
Note: See TracChangeset
for help on using the changeset viewer.