A cross-border community for researchers with openness, equality and inclusion
Syntax Validation of HTTP Requests Using Context-Free Grammar and Flask Web Framework
ID:7 View protection:Participant Only Updated time:2025-12-03 22:58:57 Views:127 Oral Presentation

Start Time:2025-12-06 14:45

Duration:15min

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

No file yet

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
SRM Institute of Science and Technology Tiruchirappalli

Sarankanth M
SRM institute of science and technology tiruchirappalli

Shibishrey V
SRM Institute of Science and Technology *

Post comments
Verification Code Change Another
All comments
Important Dates
  • Conference date

    12-06

    2025

    -

    12-07

    2025

  • 11-15 2025

    Draft paper submission deadline

Sponsored By

USS

Organized By

SRM Institute of Science and Technology Tiruchirappalli

Contact info