mirror of
				https://github.com/therootcompany/request.js.git
				synced 2024-11-16 17:28:58 +00:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e5bad96279 | 
							
								
								
									
										2
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								index.js
									
									
									
									
									
								
							@ -172,7 +172,7 @@ function setDefaults(defs) {
 | 
			
		||||
    if (_body) {
 | 
			
		||||
      // Most APIs expect (or require) Content-Length except in the case of multipart uploads
 | 
			
		||||
      // chunked is generally only well-supported downstream
 | 
			
		||||
      //finalOpts.headers['Content-Length'] = _body.byteLength || _body.length;
 | 
			
		||||
      finalOpts.headers['Content-Length'] = _body.byteLength || _body.length;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // TODO support unix sockets
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "@coolaj86/urequest",
 | 
			
		||||
  "version": "1.1.4",
 | 
			
		||||
  "version": "1.1.5",
 | 
			
		||||
  "description": "A lightweight drop-in replacement for request",
 | 
			
		||||
  "main": "index.js",
 | 
			
		||||
  "directories": {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user