Syntax Validation of HTTP Requests Using Context-Free Grammar and Flask Web Framework
ID:7 View Protection:ATTENDEE Updated Time:2025-12-03 22:58:57 Hits:490 Oral Presentation

Start Time:2025-12-06 14:45(Asia/Kolkata)

Duration:15min

Session:S1 Day-1 (06/12/2025) » S1-2Technical Sessions 1

No files

Abstract
The Hypertext Transfer Protocol (HTTP) is the basis of the internet communications of today, where the accuracy of the request directly impacts the reliability and security of the whole system. Presently, systems mostly depend on elementary string matching or regular expression methods, which are incapable of recognizing the hierarchical syntax as per the HTTP specifications. This article demonstrates a novel context-free grammar (CFG)-based method to identify HTTP request lines in a Flask-driven web framework.The newly designed model grammatically structures an HTTP request and thoroughly checks its correctness while also making sure that the communication complies with the protocol standards. The performance test results indicate that the use of CFG-based checking leads to better precision and stronger consistency than the traditional methods, thus it is possible to detect incorrectly formed or even incomplete requests with great effectiveness. Moreover, the system is equipped with database logging and automated report generation for analytical tracking and reproducibility. The findings pinpoint the promise of grammar-driven validation in raising protocol compliance levels, enhancing network security, and being an instructional resource for the comprehension of syntactic structures in network communication.
Keywords
HTTP, GET Request, Context-Free Grammar, Network Protocols, Syntax Validation, Computer Networks.
Speaker
Sri Charukesh N
Student SRM Institute of Science and Technology Tiruchirappalli

Sarankanth M
Student SRM institute of science and technology tiruchirappalli

Shibishrey V
student SRM Institute of Science and Technology *

Submission Author
Shibishrey V SRM Institute of Science and Technology *
Sri Charukesh N SRM Institute of Science and Technology *
Sarankanth M SRM Institute of Science and Technology *
Mallikka Rajalingam SRM Institute of Science and Technology *
Submit Comment
Verify Code Change Another
All Comments
Important Date
  • Conference Date

    Dec 06

    2025

    to

    Dec 07

    2025

  • Nov 15 2025

    Draft paper submission deadline

Sponsored By
USS
Organized By
SRM Institute of Science and Technology Tiruchirappalli