Skip to content

Commit

Permalink
update stale constant to be link to pkg.go.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepeterson committed Jan 22, 2025
1 parent ddb861a commit 130aa21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/operations-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ In addition to individually handling some of various Apple DEP API endpoints in
The proxy URL is accessible as: `/proxy/{name}/endpoint` where `/endpoint` is the Apple DEP API endpoint you want to access. The proxy will automatically translate this URL to ``https://mdmenrollment.apple.com/endpoint` and use `{name}` for retrieving the DEP authentication tokens. Note that in some cases, for some endpoints, various HTTP headers are added or removed:

* For any proxy request the API authentication header is removed before passing to the underlying DEP server.
* If not provided in the incoming HTTP request the DEP header `X-Server-Protocol-Version` is set to a default (currently "3").
* If not provided in the incoming HTTP request the DEP header `X-Server-Protocol-Version` is set to [a default](https://pkg.go.dev/github.com/micromdm/nanodep/client#pkg-constants).
* For the `/session` endpoint we use a default `Content-Type`. However because NanoDEP handles authentication for you, you shouldn't have to worry about this (or even need to call to the `/session` endpoint).

> [!TIP]
Expand Down

0 comments on commit 130aa21

Please sign in to comment.