Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

S3publish #24

Merged
merged 11 commits into from Apr 25, 2013
Merged

S3publish #24

merged 11 commits into from Apr 25, 2013

Conversation

Pomax
Copy link
Contributor

@Pomax Pomax commented Apr 23, 2013

added publishing to S3, provisionally. Knox is used for S3 interfacing, and the "fakes3" program is used to spoof an S3 publication endpoint. This code has some stubs for building out the full functionality, but the core is all here.

test.localhost, if your bucketname is "potato", point to potato.localhost,
etc.

Note that this file is used on all conventional operation systems, but
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/operation/operating/ I think.


You are now ready to run the app, by first starting up the sanitizer in the
htmlsanitizer.org directory, by running ```python app.py```

In additional, launch the fake S3 service in a terminal with:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/additional/addition/

headers = {
'x-amz-acl': 'public-read',
'Content-Length': Buffer.byteLength(data,'utf8'),
'Content-Type': 'text/html'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this content type text/html;charset=UTF-8 so my browser stops yelling at me

Pomax added a commit that referenced this pull request Apr 25, 2013
@Pomax Pomax merged commit b44742e into mozilla:master Apr 25, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants