100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Lecture notes

Web Programming: Introduction, HTTP and Python Lecture Notes

Rating
-
Sold
-
Pages
13
Uploaded on
05-01-2025
Written in
2024/2025

Lecture Notes about the basis of HTTP protocol, how requests and responses work, and the basis of Python to use in Django. It has a summary section on the left side of the page, following the Cornell note taking method, where the key points are summarised on the side of the noted.

Show more Read less









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
January 5, 2025
Number of pages
13
Written in
2024/2025
Type
Lecture notes
Professor(s)
Paulo oliva
Contains
All classes

Content preview

1️⃣
Introduction, HTTP and Python
SUMMARY MAIN NOTES

client makes a Contents
request to server Basics
through HTTP HTTP Message Structure
protocol Both
Responses
URL dispatcher Requests
returns function HTTP Headers
that has access to HTTP Body
the data HTTP Methods/ Actions
GET vs POST
The data is sent
POST vs PUT
back to the client
HTTP Method Properties
through HTML HTTP Responses
templates and Response codes
static files Components of a URL

HTTP has different
actions:
Basics
POST to create
new resources
(same as
INSERT in
💡 A client makes a request to server through
the HTTP protocol and URLs. Depending
SQL) on the URL dispatcher, it returns a view
function, which has access to the
GET to get a
data/database. Data is then sent back to
resource
the client through HTML templates, with
(same as
static files e.g. JavaScript, CSS, JPEG.
SELECT in
SQL)

PUT to change
or update HTTP Message Structure
(same as



Introduction, HTTP and Python 1

, UPDATE in Both
SQL)
Start line describing the request to be
HEAD, similar implemented or its status
to get,
Optional set of HTTP headers specifying the
transfers
request or describing the body
status line &
header A blank line that indicates all meta information
for the request has been sent
DELETE to
destroy a Optional body containing data associated with
resource the request, or documented associated with a
response. Its presence and size are specified in
HTTP methods
the start line and headers.
can be:

safe: the
request has Responses Requests
the same status line: they have an HTTP
effect as not method
the protocol
requesting.
version A request target,
There can be
usually a URL, path
side-effects, a status code
or protocol and
but it will be for success or
domain. It can be:
fault of the failure of the
user. request an absolute path
followed by ?
GET, a status text i.e.
and a query
HEAD, information
string
OPTIONS about the status
code for the a complete URL
idempotent:
user
calling the the authority
method component of a
multiple times URL, with the
has the same domain name
effect as and optionally
calling it once. the port
prefixed by :.
GET,
Only used with
HEAD, PUT
and CONNECT 
DELETE


Introduction, HTTP and Python 2
£7.16
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
ileniamaiettabusiness

Also available in package deal

Thumbnail
Package deal
ECS639U Web Programming Complete Lecture Notes
-
10 2025
£ 61.70 More info

Get to know the seller

Seller avatar
ileniamaiettabusiness Queen Mary, University of London
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
11 months
Number of followers
0
Documents
10
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions