GoToSocial/testrig
kim 2063d01cdb
[bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805)
* add back removed ValidateRequest() before backoff-retry loop

Signed-off-by: kim <grufwub@gmail.com>

* include response body in error response log

Signed-off-by: kim <grufwub@gmail.com>

* improved error response body draining

Signed-off-by: kim <grufwub@gmail.com>

* add more code commenting

Signed-off-by: kim <grufwub@gmail.com>

* move new error response logic to gtserror, handle instead in transport.Transport{} impl

Signed-off-by: kim <grufwub@gmail.com>

* appease ye oh mighty linter

Signed-off-by: kim <grufwub@gmail.com>

* fix mockhttpclient not setting request in http response

Signed-off-by: kim <grufwub@gmail.com>

---------

Signed-off-by: kim <grufwub@gmail.com>
2023-05-21 18:59:14 +02:00
..
media [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
config.go feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
db.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
email.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
federatingdb.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
federator.go [feature] status refetch support (#1690) 2023-05-12 11:15:54 +02:00
gin.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
log.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
mediahandler.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
oauthserver.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
processor.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
router.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
storage.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
testmodels.go [bugfix] Fix duplicating fields on profile edit (#1788) 2023-05-15 12:52:40 +02:00
transportcontroller.go [bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805) 2023-05-21 18:59:14 +02:00
typeconverter.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
util.go [chore] Refactor account deleting/block logic, tidy up some other processing things (#1599) 2023-03-20 18:10:08 +00:00