Lesson - 64 : Python Advanced - Python CGI Programming : GET and POST Methods

Опубликовано: 22 Январь 2018
на канале: Sada Learning Hub
452
2

**************************************************
before watching this video please whatch this video to configure your setup    • Lesson - 62 : Python Advanced - Pytho...  
Python Core PlayList :    • Lesson - 01 : Python3 - What is python  
Python Advanced PlayList :    • Lesson - 46 : Python Advanced - Pytho...  
**************************************************

Python CGI Programming : GET and POST Methods:
S.No
Differences in
HTTP Requests
GET
POST
1
Syntax
Uses the Keyword ‘get’.
Uses the Keyword ‘Post’.

2
How are inputs sent?
Along with URL appending after the symbol ‘?’.
In form of messages.

3
Input Type
ASCII Characters.
ASCII Characters or Binary.

4
Parameter Count
Can handle 2k to 64k parameters based on the server.
No limit.

5
Input Size
Allows up to 2048 characters.
No limit.

6
Visibility of data sent
Remains visible to all as it resides in the URL space.
Cannot be seen as it is sent as a message.

7
Default HTTP Method
Yes .
No.

8
Browser History
The sent data remains in the web browser history and can be later seen by anyone.
The sent data nev.er resides in the web browser history and therefore no one can later see it.

9
Bookmarking
It allows the URL to be bookmarked and, in turn, the sent data.
There is nothing to do with the sent data even the web pages are bookmarked. As the bookmarked pages do not store any user information.

10
Caching
The cached pages store the user input and allow future retrieval.
The cached pages never store the user input.

11
Refresh or Back
The Refresh or Back actions do not re-execute the request if the older executions remain in .the cache memory. Also, such a retrieval from the cache happens without any alert message to the user. Therefore, the user may think that it is the latest but, in turn, the server may contain a different data.
The Refresh or Back actions fetches the data from cache only after sending an alert message to the user. The user may cancel it and can even re-execute it to fetch the latest data from the cache.

12
Hacking
It can be done easily.
It is difficult to hack.

13
When to use?
It is best suited to send less sensitive data such as search queries, chat messages, social media content, online research, etc where there is no concern for security.
It is best suited to send many sensitive data such as passwords, bank account details, etc where security is of most concern.

Sample Projects : https://github.com/SadaLearningHub1/P...


На этой странице сайта вы можете посмотреть видео онлайн Lesson - 64 : Python Advanced - Python CGI Programming : GET and POST Methods длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Sada Learning Hub 22 Январь 2018, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 452 раз и оно понравилось 2 зрителям. Приятного просмотра!