Errata

OpenStack Swift

Errata for OpenStack Swift

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Mobi Page 30%
Streaming and making modifications to data

The two examples for UppercaseMiddleware are passing new_start_response, which isn't defined. Shouldn't they be start_response?

Jay Allard  Sep 30, 2015 
Printed Page 103
WSGI Code Sample

Hi,

I think in the code sample

def app(environ, start_response):
body = 'The WSGI request environment looks like this: %r' % environ
response_headers = [ ('Content-Type', 'text/plain'), ('Content-Length',
str(len(response_body))) ]
start_response('200 OK', response_headers)
return [body]

str(len(response_body)) should be str(len(body))

Please let me know if I am right or missing something here myself.

Thank you

Arend

Arend Dittmer  Jun 28, 2016