Raphael Deem 
							
						 
					 
					
						
						
							
						
						df4a149cd0 
					 
					
						
						
							
							Merge pull request  #885  from yunstanford/master  
						
						... 
						
						
						
						add triggers events when async create_server 
						
						
					 
					
						2017-08-09 15:59:44 -07:00 
						 
				 
			
				
					
						
							
							
								Yun Xu 
							
						 
					 
					
						
						
							
						
						80f27b1db9 
					 
					
						
						
							
							add unit tests and make flake8 happy  
						
						
						
						
					 
					
						2017-08-08 22:21:40 -07:00 
						 
				 
			
				
					
						
							
							
								Miguel Grinberg 
							
						 
					 
					
						
						
							
						
						375ed23216 
					 
					
						
						
							
							Weboscket subprotocol negotiation  
						
						... 
						
						
						
						Fixes  #874  
					
						2017-08-08 11:40:44 -07:00 
						 
				 
			
				
					
						
							
							
								Eli Uriegas 
							
						 
					 
					
						
						
							
						
						2228104bff 
					 
					
						
						
							
							Merge pull request  #862  from zyguan/revert-599fbce  
						
						... 
						
						
						
						revert 599fbce 
						
						
					 
					
						2017-07-31 13:51:04 -07:00 
						 
				 
			
				
					
						
							
							
								Raphael Deem 
							
						 
					 
					
						
						
							
						
						402c3752c4 
					 
					
						
						
							
							Merge pull request  #871  from Frzk/unauthorized-exception  
						
						... 
						
						
						
						Simplified the Unauthorized exception __init__ signature. 
						
						
					 
					
						2017-07-31 12:23:12 -07:00 
						 
				 
			
				
					
						
							
							
								François KUBLER 
							
						 
					 
					
						
						
							
						
						b65eb69d9f 
					 
					
						
						
							
							Simplified the Unauthorized exception __init__ signature.  
						
						... 
						
						
						
						(again).
Use of **kwargs makes it more straight forward and easier to use. 
						
						
					 
					
						2017-07-27 23:00:27 +02:00 
						 
				 
			
				
					
						
							
							
								cclauss 
							
						 
					 
					
						
						
							
						
						40776e5324 
					 
					
						
						
							
							Comment: F821 undefined name is done on purpose  
						
						... 
						
						
						
						Comment helps readers and `# noqa` silences linters 
						
						
					 
					
						2017-07-26 12:44:30 +02:00 
						 
				 
			
				
					
						
							
							
								zyguan 
							
						 
					 
					
						
						
							
						
						da91b16244 
					 
					
						
						
							
							add tests  
						
						
						
						
					 
					
						2017-07-24 18:21:15 +08:00 
						 
				 
			
				
					
						
							
							
								Raphael Deem 
							
						 
					 
					
						
						
							
						
						173c62acb6 
					 
					
						
						
							
							Merge branch 'master' into unauthorized-exception  
						
						
						
						
					 
					
						2017-07-21 01:54:45 -07:00 
						 
				 
			
				
					
						
							
							
								Yun Xu 
							
						 
					 
					
						
						
							
						
						75378d3567 
					 
					
						
						
							
							add remote_addr property for proxy fix  
						
						
						
						
					 
					
						2017-07-14 09:29:16 -07:00 
						 
				 
			
				
					
						
							
							
								Raphael Deem 
							
						 
					 
					
						
						
							
						
						4265ad5f23 
					 
					
						
						
							
							add versioning  
						
						
						
						
					 
					
						2017-07-12 22:19:42 -07:00 
						 
				 
			
				
					
						
							
							
								Yun Xu 
							
						 
					 
					
						
						
							
						
						3d75e6ed95 
					 
					
						
						
							
							case-insensitive check for header fields  
						
						
						
						
					 
					
						2017-07-10 12:29:47 -07:00 
						 
				 
			
				
					
						
							
							
								Raphael Deem 
							
						 
					 
					
						
						
							
						
						f0a956467c 
					 
					
						
						
							
							Merge pull request  #815  from yunstanford/master  
						
						... 
						
						
						
						add graceful timeout when shutdown 
						
						
					 
					
						2017-07-08 11:31:37 -07:00 
						 
				 
			
				
					
						
							
							
								Raphael Deem 
							
						 
					 
					
						
						
							
						
						421f78f3e6 
					 
					
						
						
							
							Merge pull request  #814  from Frzk/forbidden-exception  
						
						... 
						
						
						
						Added a Forbidden exception 
						
						
					 
					
						2017-06-30 18:11:23 -07:00 
						 
				 
			
				
					
						
							
							
								Raphael Deem 
							
						 
					 
					
						
						
							
						
						00d4533022 
					 
					
						
						
							
							Merge pull request  #821  from Frzk/bearer-support  
						
						... 
						
						
						
						Inverted the order of prefixes in Request.token property. 
						
						
					 
					
						2017-06-29 09:43:34 -07:00 
						 
				 
			
				
					
						
							
							
								François KUBLER 
							
						 
					 
					
						
						
							
						
						e427e38da8 
					 
					
						
						
							
							Simplified the Unauthorized.__init__ signature.  
						
						... 
						
						
						
						It doesn't really make sense to have a `realm` parameter in the method signature.
Instead, one can simply set the realm in the `challenge` dict if necessary.
Also fixed the tests accordingly (and added a new one for "Bearer" auth-scheme). 
						
						
					 
					
						2017-06-29 12:34:52 +02:00 
						 
				 
			
				
					
						
							
							
								François KUBLER 
							
						 
					 
					
						
						
							
						
						1f24abc3d2 
					 
					
						
						
							
							Fixed support for "Bearer" and "Token" auth-schemes.  
						
						... 
						
						
						
						Removed the test for "Authentication: Bearer Token <TOKEN>" which was not supposed to exist (see https://github.com/channelcat/sanic/pull/821 )
Also added a call to `split` when retrieving the token value to handle cases where there are leading or trailing spaces. 
						
						
					 
					
						2017-06-29 10:23:49 +02:00 
						 
				 
			
				
					
						
							
							
								François 
							
						 
					 
					
						
						
							
						
						76e62779ba 
					 
					
						
						
							
							Merge branch 'master' into forbidden-exception  
						
						
						
						
					 
					
						2017-06-28 17:25:40 +02:00 
						 
				 
			
				
					
						
							
							
								Yun Xu 
							
						 
					 
					
						
						
							
						
						221cf235b5 
					 
					
						
						
							
							fix a unit test  
						
						
						
						
					 
					
						2017-06-25 01:03:28 -07:00 
						 
				 
			
				
					
						
							
							
								Yun Xu 
							
						 
					 
					
						
						
							
						
						7720e31a31 
					 
					
						
						
							
							add unit test  
						
						
						
						
					 
					
						2017-06-25 00:51:59 -07:00 
						 
				 
			
				
					
						
							
							
								Eli Uriegas 
							
						 
					 
					
						
						
							
						
						dbcbf12456 
					 
					
						
						
							
							Merge pull request  #811  from Frzk/bearer-support  
						
						... 
						
						
						
						Added support for 'Authorization: Bearer <TOKEN>' header... 
						
						
					 
					
						2017-06-23 10:32:21 -07:00 
						 
				 
			
				
					
						
							
							
								Eli Uriegas 
							
						 
					 
					
						
						
							
						
						c04b44057c 
					 
					
						
						
							
							Merge pull request  #813  from Frzk/unauthorized-exception  
						
						... 
						
						
						
						Added an Unauthorized exception 
						
						
					 
					
						2017-06-23 10:30:51 -07:00 
						 
				 
			
				
					
						
							
							
								François KUBLER 
							
						 
					 
					
						
						
							
						
						60aa60f48e 
					 
					
						
						
							
							Fixed the test for the new Unauthorized exception.  
						
						
						
						
					 
					
						2017-06-23 17:16:31 +02:00 
						 
				 
			
				
					
						
							
							
								François KUBLER 
							
						 
					 
					
						
						
							
						
						2848d7c80e 
					 
					
						
						
							
							Added a Forbidden exception  
						
						... 
						
						
						
						Also added a small test. 
						
						
					 
					
						2017-06-23 16:44:57 +02:00 
						 
				 
			
				
					
						
							
							
								François KUBLER 
							
						 
					 
					
						
						
							
						
						cf1713b085 
					 
					
						
						
							
							Added a Unauthorized exception.  
						
						... 
						
						
						
						Also added a few tests related to this new exception. 
						
						
					 
					
						2017-06-23 16:12:15 +02:00 
						 
				 
			
				
					
						
							
							
								7 
							
						 
					 
					
						
						
							
						
						f049a4ca67 
					 
					
						
						
							
							Recycling gunicorn worker ( #800 )  
						
						... 
						
						
						
						* add recycling feature to gunicorn worker
* add unit tests
* add more unit tests, and remove redundant trigger_events call
* fixed up unit tests
* make flake8 happy
* address feedbacks
* make flake8 happy
* add doc 
						
						
					 
					
						2017-06-22 13:26:50 -07:00 
						 
				 
			
				
					
						
							
							
								François KUBLER 
							
						 
					 
					
						
						
							
						
						55f860da2f 
					 
					
						
						
							
							Added support for 'Authorization: Bearer <TOKEN>' header in Request.token property.  
						
						... 
						
						
						
						Also added a test case for that kind of header. 
						
						
					 
					
						2017-06-22 18:11:23 +02:00 
						 
				 
			
				
					
						
							
							
								Yun Xu 
							
						 
					 
					
						
						
							
						
						20138ee85f 
					 
					
						
						
							
							add match_info to request  
						
						
						
						
					 
					
						2017-06-17 09:47:58 -07:00 
						 
				 
			
				
					
						
							
							
								Yun Xu 
							
						 
					 
					
						
						
							
						
						ce2df8030c 
					 
					
						
						
							
							quick fix for test_gunicorn_worker test  
						
						
						
						
					 
					
						2017-06-11 09:06:48 -07:00 
						 
				 
			
				
					
						
							
							
								Yun Xu 
							
						 
					 
					
						
						
							
						
						6a80bdafa6 
					 
					
						
						
							
							add unit tests  
						
						
						
						
					 
					
						2017-06-10 09:48:30 -07:00 
						 
				 
			
				
					
						
							
							
								Yun Xu 
							
						 
					 
					
						
						
							
						
						24b946e850 
					 
					
						
						
							
							make flake8 happy  
						
						
						
						
					 
					
						2017-06-09 08:43:23 -07:00 
						 
				 
			
				
					
						
							
							
								Yun Xu 
							
						 
					 
					
						
						
							
						
						236daf48ff 
					 
					
						
						
							
							add unit tests  
						
						
						
						
					 
					
						2017-06-09 08:42:48 -07:00 
						 
				 
			
				
					
						
							
							
								Yun Xu 
							
						 
					 
					
						
						
							
						
						3802f8ff65 
					 
					
						
						
							
							unit tests  
						
						
						
						
					 
					
						2017-06-08 17:25:22 -07:00 
						 
				 
			
				
					
						
							
							
								Yun Xu 
							
						 
					 
					
						
						
							
						
						81889fd7a3 
					 
					
						
						
							
							add unit tests  
						
						
						
						
					 
					
						2017-06-07 20:48:07 -07:00 
						 
				 
			
				
					
						
							
							
								Miroslav Batchkarov 
							
						 
					 
					
						
						
							
						
						ddd7145153 
					 
					
						
						
							
							check json is None if body is not JSON  
						
						
						
						
					 
					
						2017-06-07 10:03:27 +01:00 
						 
				 
			
				
					
						
							
							
								Miroslav Batchkarov 
							
						 
					 
					
						
						
							
						
						199fa50a9d 
					 
					
						
						
							
							also store json result in local request  
						
						
						
						
					 
					
						2017-06-05 16:24:23 +01:00 
						 
				 
			
				
					
						
							
							
								Eli Uriegas 
							
						 
					 
					
						
						
							
						
						48de321869 
					 
					
						
						
							
							Merge pull request  #697  from 38elements/stream  
						
						... 
						
						
						
						Add Request.stream 
						
						
					 
					
						2017-05-24 16:22:52 -07:00 
						 
				 
			
				
					
						
							
							
								messense 
							
						 
					 
					
						
						
							
						
						3eed81c1eb 
					 
					
						
						
							
							Add a simple integration test for Gunicorn worker  
						
						
						
						
					 
					
						2017-05-23 11:04:27 +08:00 
						 
				 
			
				
					
						
							
							
								Raphael Deem 
							
						 
					 
					
						
						
							
						
						4b80ffb9eb 
					 
					
						
						
							
							Merge pull request  #740  from r0fls/739  
						
						... 
						
						
						
						add abort function 
						
						
					 
					
						2017-05-21 02:20:02 -07:00 
						 
				 
			
				
					
						
							
							
								Raphael Deem 
							
						 
					 
					
						
						
							
						
						9efa7c116d 
					 
					
						
						
							
							remove redundant code; decode response  
						
						
						
						
					 
					
						2017-05-20 23:27:00 -07:00 
						 
				 
			
				
					
						
							
							
								Raphael Deem 
							
						 
					 
					
						
						
							
						
						5d9c8d59a0 
					 
					
						
						
							
							add abort() test  
						
						
						
						
					 
					
						2017-05-20 14:43:57 -07:00 
						 
				 
			
				
					
						
							
							
								Ashley Sommer 
							
						 
					 
					
						
						
							
						
						5c5656f981 
					 
					
						
						
							
							Moved file_stream tests to test_responses.py  
						
						
						
						
					 
					
						2017-05-20 09:41:36 +10:00 
						 
				 
			
				
					
						
							
							
								Ashley Sommer 
							
						 
					 
					
						
						
							
						
						181edb7235 
					 
					
						
						
							
							Test file() and file_stream() response helpers.  
						
						... 
						
						
						
						Added test for `file()` response helper and `file_stream()` response helper. 
						
						
					 
					
						2017-05-19 13:01:21 +10:00 
						 
				 
			
				
					
						
							
							
								Raphael Deem 
							
						 
					 
					
						
						
							
						
						0e4aaf8856 
					 
					
						
						
							
							Merge pull request  #731  from jrocketfingers/fix/token-missing-auth-headers  
						
						... 
						
						
						
						Check that the Authorization headers are actually provided. 
						
						
					 
					
						2017-05-17 13:10:12 -07:00 
						 
				 
			
				
					
						
							
							
								Johnny 
							
						 
					 
					
						
						
							
						
						58bae83558 
					 
					
						
						
							
							Add a regression test.  
						
						
						
						
					 
					
						2017-05-17 11:15:45 +02:00 
						 
				 
			
				
					
						
							
							
								messense 
							
						 
					 
					
						
						
							
						
						66fcb0cc8f 
					 
					
						
						
							
							Add py3*-no-ext test env  
						
						
						
						
					 
					
						2017-05-15 10:10:50 +08:00 
						 
				 
			
				
					
						
							
							
								38elements 
							
						 
					 
					
						
						
							
						
						6a14e49479 
					 
					
						
						
							
							Replace stream decorator to stream parameter  
						
						
						
						
					 
					
						2017-05-09 22:31:15 +09:00 
						 
				 
			
				
					
						
							
							
								38elements 
							
						 
					 
					
						
						
							
						
						4d4f38fb35 
					 
					
						
						
							
							is_request_stream for CompositionView and HTTPMethodView  
						
						
						
						
					 
					
						2017-05-09 01:04:03 +09:00 
						 
				 
			
				
					
						
							
							
								38elements 
							
						 
					 
					
						
						
							
						
						0b53c413a7 
					 
					
						
						
							
							Add stream decorator for HTTPMethodView  
						
						
						
						
					 
					
						2017-05-07 21:33:15 +09:00 
						 
				 
			
				
					
						
							
							
								38elements 
							
						 
					 
					
						
						
							
						
						931397c7e1 
					 
					
						
						
							
							Add stream for CompositionView  
						
						
						
						
					 
					
						2017-05-07 18:38:48 +09:00