forked from cory/tildefriends
		
	Don't shutdown the client side of an HTTP request after sending it. Some servers don't like that.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4363 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		@@ -79,7 +79,6 @@ export function fetch(url, options, allowed_hosts) {
 | 
			
		||||
			fullRequest.set(headers, 0);
 | 
			
		||||
			fullRequest.set(body, headers.length);
 | 
			
		||||
			socket.write(fullRequest);
 | 
			
		||||
			socket.shutdown();
 | 
			
		||||
		}).catch(function(error) {
 | 
			
		||||
			reject(error);
 | 
			
		||||
		});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user