Skip to content

Commit

Permalink
Merge pull request #1253 from appwrite/fix-suggested-headers
Browse files Browse the repository at this point in the history
Fix: suggested execution headers
  • Loading branch information
ArmanNik committed Aug 2, 2024
2 parents 70f3f6f + 9b7dd42 commit f72830b
Showing 1 changed file with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,21 @@
const deployment = data.activeDeployment as Models.Deployment;
const keyList = [
{ label: 'Authorization', value: 'Authorization' },
{ label: 'Cache-Control', value: 'Cache-Control' },
{ label: 'Content-Length', value: 'Content-Length' },
// Communication
{ label: 'Content-Type', value: 'Content-Type' },
{ label: 'Accept', value: 'Accept' },
// Auth
{ label: 'Authorization', value: 'Authorization' },
{ label: 'Cookie', value: 'Cookie' },
// Optimizations
{ label: 'Cache-control', value: 'Cache-control' },
{ label: 'Forwarded', value: 'Forwarded' },
// Client-details
{ label: 'User-Agent', value: 'User-Agent' },
{ label: 'X-Appwrite-Project', value: 'X-Appwrite-Project' },
{ label: 'X-Appwrite-Key', value: 'X-Appwrite-Key' },
{ label: 'X-Appwrite-JWT', value: 'X-Appwrite-JWT' },
{ label: 'X-Appwrite-Response-Format', value: 'X-Appwrite-Response-Format' },
{ label: 'X-Fallback-Cookies', value: 'X-Fallback-Cookies' }
{ label: 'Referer', value: 'Referer' },
{ label: 'Forwarded', value: 'Forwarded' },
{ label: 'Host', value: 'Host' },
{ label: 'Origin', value: 'Origin' },
];
const methodOptions = [
Expand Down

0 comments on commit f72830b

Please sign in to comment.