fix(core/utils): invalid request header Server (#9582)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
This commit is contained in:
@@ -43,7 +43,6 @@ describe('got', () => {
|
||||
.get(/.*/)
|
||||
.times(3)
|
||||
.reply(function () {
|
||||
expect(this.req.headers.server).toBe('RSSHub');
|
||||
expect(this.req.headers.referer).toBe('http://api.rsshub.test');
|
||||
expect(this.req.headers.host).toBe('api.rsshub.test');
|
||||
return [200, simpleResponse];
|
||||
|
||||
Reference in New Issue
Block a user