A cross-border community for researchers with openness, equality and inclusion

PRESENTATION LIBRARY

Home / USS Digital Library / Presentation / Details

Syntax Validation of HTTP Requests Using Context-Free Grammar and Flask Web Framework

ID: 7 View Protection: Participants Only Updated time: 2025-12-03 22:58:57 Views: 58
Time: 01 Jan 1970, 08:00
Session: [S1] Day-1 (06/12/2025) » [S1-2] Technical Sessions 1
Type: Oral Presentation
File:

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:

Charukesh N Sri

SRM Institute of Science and Technology Tiruchirappalli

M Sarankanth

SRM institute of science and technology tiruchirappalli

V Shibishrey

SRM Institute of Science and Technology *