Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated content-type in main function #224

Conversation

codewithkushagra
Copy link
Contributor

What does this PR do?

This PR is a bug fix for the issue #220, which resolves the issue of python chatgpt template not being rendered.

Test Plan

  • The issue was the we were send Content-Type from backend in python from appwrite function. Which was not interpreated by browser correctly.
  • I verified the above problem by going to inspect elements in google chrome and checking the content-type was showing plain/text, which was creating problem of HTML page not being rendered.
  • To fix the issue, I corrected the Content-Type changing the spelling to content-type, now the browser was able to detect the content-type correctly.
  • I have tested this by creating a cloud instance of prompt chatgpt using appwrite cloud, and then changing code in my own instance.
  • I have deployed 2 instance
    - The original version with is - https://652040168d5644809a5a.appwrite.global/
    - The corrected version is - https://651f1233b7aa4fe187ae.appwrite.global/

Related PRs and Issues

The related issue is #220

Have you read the Contributing Guidelines on issues?

Yes, I have read the contributing guidelines on issues.

@codewithkushagra codewithkushagra changed the title updated context type in main function updated content-type in main function Oct 6, 2023
@loks0n loks0n merged commit e8fa24a into appwrite:main Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants