Jeffrey Gelens
c2f2c16892
Fixed non threadsafe code
2015-03-16 13:13:40 +01:00
Steve Pulec
56007660d8
Cleanup parameter parsing.
2014-12-31 13:23:08 -05:00
dreadpirateshawn
9affa7753d
Performance: Leverage jinja2's Environment to cache compiled Templates.
2014-12-12 12:46:07 -08:00
Steve Pulec
da15fb711d
Basic Kinesis Stream CRUD.
2014-11-26 10:55:58 -05:00
Steve Pulec
aceb30e530
Add basic CRUD.
2014-11-22 14:03:09 -05:00
Steve Pulec
aa7233a2db
Fixes for multi-region SQS.
2014-11-16 17:57:46 -05:00
Joseph Lawson
cb88b8783d
raise NotImplementedError on unknown metadata path
2014-10-15 13:43:38 -04:00
Steve Pulec
9de7969d2b
Fix merge conflicts.
2014-10-05 21:55:23 -04:00
Steve Pulec
c6cb503b61
Make _get_multi_param smarter.
2014-08-29 20:31:02 -04:00
David Baumgold
eedb4c4b73
Support Python 3 using six
2014-08-28 10:57:43 -04:00
David Baumgold
4201e6b430
from __future__ import unicode_literals
2014-08-27 11:33:55 -04:00
Hugo Lopes Tavares
82eef28937
Add multi-region support to EC2 Instances
2014-08-26 17:56:56 -04:00
Chris St. Pierre
fab37942c4
Consistent _get_multi_param() function in responses
...
This abstracts _get_multi_param() into BaseResponse and makes it
always ensure that the string it has been given ends with a '.'. It
had been implemented in three different places, and in use it rarely
postpended a trailing period, which could make it match parameters it
shouldn't have.
2014-05-08 10:44:41 -04:00
Ilya Sukhanov
e76b4c1250
Fix: Preseve status code in header when != 200
...
before:
reply: 'HTTP/1.1 400 Bad Request\n'
header: date: Wed, 16 Apr 2014 00:30:07 GMT
header: content-type: text/plain; charset=utf-8
header: content-length: 286
header: server: Python/HTTPretty
header: status: 200
header: connection: close
after:
reply: 'HTTP/1.1 400 Bad Request\n'
header: date: Wed, 16 Apr 2014 00:32:45 GMT
header: content-type: text/plain; charset=utf-8
header: content-length: 286
header: server: Python/HTTPretty
header: status: 400
header: connection: close
Note how status and reply http did not match before but do now.
2014-04-22 17:35:15 -04:00
Ilya Sukhanov
aa644b4340
Allow returning http errors with exceptions
...
before:
def my_response_method(self):
...
if error:
return template, {'status'=400}
after:
def my_response_method(self):
...
if error:
raise MyResponseError("bad thing happened")
where MyResponseError inherits from HTTPException
2014-04-22 17:35:15 -04:00
Steve Pulec
ef876dd27e
Fix merge conflicts. Add basic cloudformation support. Closes #111 .
2014-03-27 19:12:53 -04:00
Steve Pulec
8b278eb05d
Clean up querystring logic.
2013-12-29 21:50:25 -05:00
Andres Riancho
c6515af8bf
Now we have a stand-alone server which can provide services for more than one backend at the same time
2013-12-29 21:50:05 -05:00
Steve Pulec
c1f224954e
Cleanup some style
2013-12-29 08:59:07 -05:00
Steve Pulec
2073dc769a
Clean up querystring logic.
2013-12-28 20:15:42 -05:00
Andres Riancho
d58f406de4
Fixes https://github.com/spulec/moto/issues/74
2013-12-28 20:15:42 -05:00
Steve Pulec
3bddbb4af3
Test out py26 with new HTTPretty
2013-10-03 20:34:13 -04:00
Steve Pulec
c6d6a0273d
Fix for iam credentials in boto version < 2.9
2013-06-27 00:01:33 -04:00
Steve Pulec
4345077173
coverage back at 100%
2013-05-03 20:14:33 -04:00
Steve Pulec
47bd4c49a3
attempting to move to upstream httpretty
2013-05-03 19:33:13 -04:00
Steve Pulec
2b63c79c90
remove old extra dispatch method
2013-03-23 10:00:43 -04:00
Steve Pulec
cd518d060e
move to httpretty fork instead of bundling it.
2013-03-17 18:13:21 -04:00
Steve Pulec
9e9e057289
Mock out instance metadata. Make basic connection with iam roles work. Closes #3 .
2013-03-10 16:55:41 -04:00
Steve Pulec
a728b2581a
Adding server mode
2013-03-05 08:14:43 -05:00
Steve Pulec
dc9677e323
clean up core responses
2013-02-25 23:48:17 -05:00