114 lines
3.6 KiB
Plaintext
114 lines
3.6 KiB
Plaintext
/* snapshot: Test_createRoutes_foobar */
|
|
HTTP/1.1 200 OK
|
|
Connection: close
|
|
Content-Security-Policy: default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self'; manifest-src 'self'; font-src fonts.gstatic.com; connect-src 'self' api.github.com; require-trusted-types-for 'script'
|
|
Content-Type: text/plain; charset=utf-8
|
|
|
|
foo page
|
|
|
|
/* snapshot: Test_createRoutes_index */
|
|
HTTP/1.1 200 OK
|
|
Connection: close
|
|
Content-Security-Policy: default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self'; manifest-src 'self'; font-src fonts.gstatic.com; connect-src 'self' api.github.com; require-trusted-types-for 'script'
|
|
Content-Type: text/plain; charset=utf-8
|
|
|
|
index page
|
|
|
|
/* snapshot: Test_createRoutes_redirect */
|
|
HTTP/1.1 301 Moved Permanently
|
|
Connection: close
|
|
Content-Security-Policy: default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self'; manifest-src 'self'; font-src fonts.gstatic.com; connect-src 'self' api.github.com; require-trusted-types-for 'script'
|
|
Content-Type: text/html; charset=utf-8
|
|
Location: /foobar/
|
|
|
|
<a href="/foobar/">Moved Permanently</a>.
|
|
|
|
/* snapshot: Test_createRoutes_version */
|
|
HTTP/1.1 200 OK
|
|
Connection: close
|
|
Content-Security-Policy: default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self'; manifest-src 'self'; font-src fonts.gstatic.com; connect-src 'self' api.github.com; require-trusted-types-for 'script'
|
|
Content-Type: text/plain; charset=utf-8
|
|
|
|
dev
|
|
|
|
/* snapshot: Test_handler_listContainers_happy */
|
|
HTTP/1.1 200 OK
|
|
Connection: close
|
|
Content-Type: text/plain; charset=utf-8
|
|
|
|
[{"id":"1234567890","names":null,"name":"test","image":"image","imageId":"image_id","command":"command","created":0,"state":"state","status":"status"}]
|
|
|
|
/* snapshot: Test_handler_streamEvents_error */
|
|
HTTP/1.1 200 OK
|
|
Connection: close
|
|
Cache-Control: no-cache
|
|
Connection: keep-alive
|
|
Content-Type: text/event-stream
|
|
X-Accel-Buffering: no
|
|
|
|
/* snapshot: Test_handler_streamEvents_error_request */
|
|
HTTP/1.1 200 OK
|
|
Connection: close
|
|
Cache-Control: no-cache
|
|
Connection: keep-alive
|
|
Content-Type: text/event-stream
|
|
X-Accel-Buffering: no
|
|
|
|
/* snapshot: Test_handler_streamEvents_happy */
|
|
HTTP/1.1 200 OK
|
|
Connection: close
|
|
Cache-Control: no-cache
|
|
Connection: keep-alive
|
|
Content-Type: text/event-stream
|
|
X-Accel-Buffering: no
|
|
|
|
event: containers-changed
|
|
data: start
|
|
|
|
/* snapshot: Test_handler_streamLogs_error_finding_container */
|
|
HTTP/1.1 404 Not Found
|
|
Connection: close
|
|
Content-Type: text/plain; charset=utf-8
|
|
X-Content-Type-Options: nosniff
|
|
|
|
error finding container
|
|
|
|
/* snapshot: Test_handler_streamLogs_error_reading */
|
|
HTTP/1.1 200 OK
|
|
Connection: close
|
|
Cache-Control: no-cache
|
|
Connection: keep-alive
|
|
Content-Type: text/event-stream
|
|
X-Accel-Buffering: no
|
|
|
|
/* snapshot: Test_handler_streamLogs_happy */
|
|
HTTP/1.1 200 OK
|
|
Connection: close
|
|
Cache-Control: no-cache
|
|
Connection: keep-alive
|
|
Content-Type: text/event-stream
|
|
X-Accel-Buffering: no
|
|
|
|
data: INFO Testing logs...
|
|
|
|
/* snapshot: Test_handler_streamLogs_happy_container_stopped */
|
|
HTTP/1.1 200 OK
|
|
Connection: close
|
|
Cache-Control: no-cache
|
|
Connection: keep-alive
|
|
Content-Type: text/event-stream
|
|
X-Accel-Buffering: no
|
|
|
|
event: container-stopped
|
|
data: end of stream
|
|
|
|
/* snapshot: Test_handler_streamLogs_happy_with_id */
|
|
HTTP/1.1 200 OK
|
|
Connection: close
|
|
Cache-Control: no-cache
|
|
Connection: keep-alive
|
|
Content-Type: text/event-stream
|
|
X-Accel-Buffering: no
|
|
|
|
data: 2020-05-13T18:55:37.772853839Z INFO Testing logs...
|
|
id: 2020-05-13T18:55:37.772853839Z |