1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 18:24:27 +00:00
Viktor Szakats 8e9265c402 webhook: set Content-Type for application/x-www-form-urlencoded (#8600)
This header is missing since switching http client from GiteaServer (`code.gitea.io/gitea/modules/httplib`) to Go-http-client/1.1 (`net.http`). The header [was added by default](https://github.com/go-gitea/gitea/blob/release/v1.8/modules/httplib/httplib.go#L301) by the former, but this is no longer true with `net.http`, so it needs to be done explicitly.

Closes: #7700
2019-10-20 18:18:05 +01:00
..
2019-08-23 12:40:29 -04:00
2017-05-04 13:54:56 +08:00
2019-06-12 15:41:28 -04:00
2019-09-24 21:22:39 +08:00
2019-09-24 21:22:39 +08:00
2019-08-23 12:40:29 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2019-08-23 12:40:29 -04:00
2019-08-23 12:40:29 -04:00
2019-06-12 15:41:28 -04:00
2019-08-23 12:40:29 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2018-10-20 18:19:21 -04:00
2019-06-12 15:41:28 -04:00
2019-08-23 12:40:29 -04:00