statuses remove 303 and location, links in payload

This commit is contained in:
diminator
2017-01-09 17:00:36 +01:00
committed by tim
parent 60b21fd24c
commit 4631c93dbf
2 changed files with 8 additions and 7 deletions

View File

@@ -96,12 +96,14 @@ Content-Type: application/json
TPLS['get-statuses-tx-valid-response'] = """\
HTTP/1.1 303 See Other
HTTP/1.1 200 OK
Content-Type: application/json
Location: ../transactions/%(txid)s
{
"status": "valid"
"status": "valid",
"_links": {
"tx": "/transactions/%(txid)s"
}
}
"""