Questions tagged [http]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

How does the cs50 video player update the url in real time?

I´m curious about how the timestamp in the URL gets updated as the video plays. Is the server sending GET requests every second?
Santiago's user avatar
0 votes
0 answers
73 views

Https for my final project

For my final project I am making a website and I see that the web server of cs50x via which I launch the website is serving the app via http.Then I checked in for all the psets which are using flask ...
sk.76's user avatar
  • 312
1 vote
1 answer
1k views

expected 400 but got 200 OK?

I have implemented Pset-7 (Finance) but check50 shows an error called expected 400 but got 200 in all my apology pages and it is being rejected by check50. Since it successfuly landed to apology page, ...
R. Gurung's user avatar
  • 115
0 votes
0 answers
459 views

flask redirect(url_for("endpoint")) navigates me to ide50blabla:8080/myEndpoint instead of https://ide50blabla:8080/myEndpoint

I submit a file in my js file : $('#myForm').trigger('submit') That file is sent to and endpoint and there I redirect to another endpoint where stuff is done, the page is rendered again with ...
Karin's user avatar
  • 59
0 votes
1 answer
177 views

I'm making a route "/Account" to allow user to change password. I'm a bit confused about GET and POST requests

I thought I sort of understood GET and POST requests in that: GET request means the user only retrieves data from the server; cannot change anything like the database POST request means the user can ...
5areductase's user avatar
0 votes
1 answer
28 views

server.c cannot check http_version correctly

I am trying to parse the path but it always gives me the mistake-- I used gdb to trace the value of every char, and find that this line --if (strcmp(http_version,"HTTP/1.1")==0) always turns out to ...
Charlotte's user avatar
0 votes
1 answer
162 views

CS50 parse function, HTTP version

I'm working on parse for pset6 and for some reason I can't correctly check the HTTP version. Check50 gives me "\ expected output, not an exit code of 0" which I understand stands for segmentation ...
Kuba's user avatar
  • 13
0 votes
1 answer
231 views

PSET6 - server.c - 505 Error

When I try to run server.c, it's returning the 505 error, which is very confusing to me. I built the code separating everything out in a separate .c file to make sure everything works correctly, and I ...
Chris's user avatar
  • 41
0 votes
1 answer
28 views

Why port no. is required

in pset6 specification, to make request to server, the port no. of the server is noted and included with the ip address of the appliance like http://#.#.#.#.####/cat.jpg. The port no. of the server is ...
vhatharvard's user avatar