Sorted remaining content_type issues and blackened
This commit is contained in:
parent
38fbe530d2
commit
b7c9d3b73b
13 changed files with 114 additions and 92 deletions
|
|
@ -19,9 +19,7 @@ class MjpegStream(PropertyView):
|
|||
|
||||
responses = {
|
||||
200: {
|
||||
"content": {
|
||||
"multipart/x-mixed-replace": {}
|
||||
},
|
||||
"content": {"multipart/x-mixed-replace": {}},
|
||||
"description": (
|
||||
"An MJPEG stream of camera images.\n\n"
|
||||
"This endpoint will serve JPEG images sequentially, \n"
|
||||
|
|
@ -62,12 +60,7 @@ class SnapshotStream(PropertyView):
|
|||
Single JPEG snapshot from the camera stream
|
||||
"""
|
||||
|
||||
responses = {
|
||||
200: {
|
||||
"content": { "image/jpeg": {} },
|
||||
"description": "Snapshot taken"
|
||||
}
|
||||
}
|
||||
responses = {200: {"content": {"image/jpeg": {}}, "description": "Snapshot taken"}}
|
||||
|
||||
def get(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue