Commit 3730bc8e authored by Yann Garcia's avatar Yann Garcia
Browse files

Add missing Location header

parent d024703b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1091,6 +1091,9 @@ func subscriptionsPOST(w http.ResponseWriter, r *http.Request) {
			return
		}

		// Set response location header
		w.Header().Set("Location", assocStaSub.Links.Self.Href)

	case STA_DATA_RATE_SUBSCRIPTION:
		w.WriteHeader(http.StatusNotImplemented)
		return